System.Classes.TCollection.Delete

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Delete(Index: Integer);

C++

void __fastcall Delete(int Index);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TCollection

Description

Deletes a single item from the collection.

Delete removes the specified collection item, moving up any items that come after that item in the Items property array.

Index identifies the item to delete. This is the index of the item in the Items property array. 0 specifies the first item, 1 specifies the second item, and so on.

See Also