[Overview][Constants][Types][Classes][Index] |
Remove an object from the list.
Source position: fgl.pp line 238
public function TFPGInterfacedObjectList.Remove( |
const Item: T |
):Integer; |
Item |
|
Object to remove from the list |
Index of removed object, prior to removal.
Remove removes the object Item from the list, and returns the index of the removed item. If no item was removed, -1 is returned. Only the first object is removed.
Removing an object from the list may cause the object to be freed.
None.
|
Index of object |
|
|
Delete an item from the list |
|
TFPGInterfacedObjectList.FreeObjects |