RAD Studio VCL Reference
|
Inserts a name/Variant pair at a specified position.
procedure Insert(Index: Integer; const S: string; const AValue: Variant); virtual; abstract;
virtual __fastcall Insert(int Index, const AnsiString S, const Variant AValue) = 0;
Call Insert to add a name/Variant pair to the list at a specified position. After a call to Insert, any name/Variant pairs that appeared at or after the specified position move down by one (getting a new index).
Index is the position where the new name and Variant should be added.
S is the name of the new entry.
AValue is the Variant value of the new entry.
TAbstractNamedVariants declares Insert 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!
|