[Overview][Constants][Types][Classes][Index] |
Insert a new object in the list
Source position: fgl.pp line 220
public procedure TFPGInterfacedObjectList.Insert( |
Index: Integer; |
const Item: T |
); |
Index |
|
Position to insert Item at |
Item |
|
Interfaced Object to insert in the list |
Insert inserts a new object (Item) in the list at position Index. The index is zero based and must be less than Count.
If an invalid index is specified, an EListError exception is raised.
|
Indexed access to objects in the list. |
|
|
Add new object of class T to the list. |