Add new object of class T to the list.
Source position: fgl.pp line 192
public function TFPGObjectList.Add( |
const Item: T |
):Integer; |
Item |
|
Item to add to the list. |
Index at which item 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.
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 item. |