Insert an object in the list.
Source position: contnrs.pp line 97
public procedure TObjectList.Insert( |
Index: Integer; |
AObject: TObject |
); |
Index |
|
Position to insert object at. |
AObject |
|
Object to insert. |
Insert inserts AObject in the list at position Index. The index is zero-based. This method overrides the implementation in TList to accept objects instead of pointers.
If an invalid Index is specified, an exception is raised.
|
Add an object to the list. |
|
|
Remove (and possibly free) an element from the list. |