Skip to content

TFPList.Extract

Remove the first occurrence of a pointer from the list.

Declaration

Source position: classesh.inc line 248

public 
  function Extract(Item: Pointer) : Pointer;

Description

Extract searches for the first occurrence of Item in the list and deletes it from the list. If Item was found, it's value is returned. If Item was not found, Nil is returned.

See also

Name Description
TFPList.Delete Removes a pointer from the list.