TObjectList.Insert procedure
Insert an object in the list.
Declaration
procedure Insert(Index: Integer; AObject: TObject)Arguments
Index | Position to insert object at. |
AObject | Object to insert. |
Description
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.Errors
If an invalid
Index is specified, an exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
