[Overview][Types][Classes][Procedures and functions] |
Extract an object from the list.
Source position: contnrs.pp line 83
public function TObjectList.Extract( |
Item: TObject |
):TObject; |
Item |
|
Element to remove from the list. |
The removed element, or Nil
Extractremoves the object Itemfrom the list if it is present in the list. Contrary to Remove, Extractdoes not free the extracted element if OwnsObjectsis True
The function returns a reference to the item which was removed from the list, or Nilif no element was removed.
None.
|
Remove (and possibly free) an element from the list. |