Add an object to the list.
Source position: contnrs.pp line 92
public function TObjectList.Add( |
AObject: TObject |
):Integer; |
AObject |
|
Object to add to the list. |
Position at which the object was added.
Add overrides the TList implementation to accept objects (AObject) instead of pointers.
The function returns the index of the position where the object was added.
If the list must be expanded, and not enough memory is available, an exception may be raised.
|
Insert an object in the list. |
|
|
Extract an object from the list. |
|
|
Remove (and possibly free) an element from the list. |