[Overview][Constants][Types][Classes][Index] |
Add new object of class T to the list.
Source position: fgl.pp line 215
public function TFPGInterfacedObjectList.Add( |
const Item: T |
):Integer; |
Item |
|
Interfaced object to add to the list. |
Index at which the object was added.
Add adds a new item Item of class type T to the list and returns the position at which the item was added. Add will increase the reference count of the object.
If the item could not be added, an EListError exception is raised.
|
Extract an item from the list |
|
|
Indexed access to objects in the list. |
|
|
Index of object |