RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOptionItems.Insert Method

Creates a new TCollectionItem instance and adds it to the Items array.

Pascal
function Insert(Index: Integer): TOptionItem;
C++
__fastcall TOptionItem Insert(int Index);

Call Insert to add a new item at a specified position in the collection. Existing items (starting from the specified position) are moved up in the Items array. 

Insert returns the new collection item. 

 

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