RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TNamedVariantsList.Delete Method

Removes a specified Variant specified by the Index parameter.

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

Call Delete to remove a specified name/Variant pair from the list. Delete frees the Variant when it removes the item from the list. 

After a call to Delete, any name/Variant pairs that appeared after the deleted item in the list move up by one (getting a new index). 

Index is the position of the item to delete. 

 

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