[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'contnrs' (#fcl) |
Remove (and possibly free) an element from the list.
Source position: contnrs.pp line 84
public function TObjectList.Remove( |
AObject: TObject |
):Integer; |
AObject |
|
Object to remove from the list. |
Index of the removed object, or -1 if none was removed.
Remove removes Item from the list, if it is present in the list. It frees Item if OwnsObjects is True, and returns the index of the object that was found in the list, or -1 if the object was not found.
Note that only the first found object is removed from the list.
None.
|
Extract an object from the list. |
No notes exist for this page yet.