| [Overview][Constants][Types][Classes][Index] | 
Add new item of type T to the list.
Source position: fgl.pp line 147
public function TFPGList.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 generic 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 items in the list  | 
|
  | 
Index of item  |