TFPObjectList.Delete procedure
Delete an element from the list.
Declaration
procedure Delete(Index: Integer)Arguments
Index | Index of the object to delete. |
Description
Delete removes the object at index
Index from the
list. When
OwnsObjects is
True, the object is also freed.Errors
An access violation may occur when
OwnsObjects is
True and either the object was freed externally, or when
the same object is in the same list twice.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
