TObjectList.Add¶
Add an object to the list.
Declaration¶
Source position: contnrs.pp line 92
public
function TObjectList.Add(AObject: TObject) : Integer;
Errors¶
If the list must be expanded, and not enough memory is available, an exception may be raised.
See also¶
| Name | Description |
|---|---|
| TObjectList.Insert | Insert an object in the list. |
| #rtl.classes.TList.Delete | |
| TObjectList.Extract | Extract an object from the list. |
| TObjectList.Remove | Remove (and possibly free) an element from the list. |