[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'contnrs' (#fcl) |
Remove first occurrence of a object instance
Source position: contnrs.pp line 307
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 occurence 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 |
No notes exist for this page yet.