RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCollection.Delete Method

Deletes a single item from the collection.

Pascal
procedure Delete(Index: Integer);
C++
__fastcall Delete(int Index);

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. That is, 0 specifies the first item, 1 specifies the second item, and so on. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!