[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Remove first occurrence of a object instance
Source position: contnrs.pp line 317
public function TFPHashObjectList.Remove( |
AObject: TObject |
):Integer; |
AObject |
|
Object instance to remove from the list. |
Position of object instance which was removed
Remove removes the first occurrence of the object instance Item in the list, if it is present. The return value is the location of the removed object instance, or -1 if no object instance was removed.
If OwnsObjects is True, then the object itself is also freed from memory.
|
Delete an object from the list. |
|
|
Clear the list |
|
|
Extract a object instance from the list |