RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractNamedVariants.Delete Method

Deletes an entry from the list.

Pascal
procedure Delete(Index: Integer); virtual; abstract;
C++
virtual __fastcall Delete(int Index) = 0;

Call Delete to remove a specified name/Variant pair 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. 

TAbstractNamedVariants declares Delete as an abstract or (in C++ terminology) a pure virtual method, meaning that it provides no implementation. Descendant classes must override this method to provide an implementation. 

 

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