Unit 'fgl' Package
[Overview][Constants][Types][Classes][Index] [#rtl]

TFPGInterfacedObjectList.Extract

Extract an item from the list.

Declaration

Source position: fgl.pp line 233

public function TFPGInterfacedObjectList.Extract(

  const Item: T

):T;

Arguments

Item

  

The extracted object.

Function result

The actually removed object, or Nil.

Description

Extract removes Item from the list and returns the removed item, or Nil if it was not found.

The extracted object will not be destroyed.

Errors

None.

See also

TFPSList.Delete

  

Delete an item from the list.


Documentation generated on: Dec 26 2024