Extract a object instance from the list.
Source position: contnrs.pp line 324
public function TFPHashObjectList.Extract( |
Item: TObject |
):TObject; |
Item |
|
Object instance to be removed. |
The removed object instance or nil.
Extract removes the data object from the list, if it is in the list. It returns the object instance if it was removed from the list, Nil otherwise. The object is not freed from memory, regardless of the value of OwnsObjects.
Extract does a linear search, and is not very efficient.
|
Delete an object from the list. |
|
|
Remove first occurrence of a object instance. |
|
|
Clear the list. |