Unit 'Contnrs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPHashList.Remove

Remove first instance of a pointer.

Declaration

Source position: contnrs.pp line 263

public function TFPHashList.Remove(

  Item: Pointer

):Integer;

Arguments

Item

  

Item to remove from the list.

Function result

Data pointer which was removed.

Description

Remove removes the first occurrence of the data pointer Item in the list, if it is present. The return value is the removed data pointer, or Nil if no data pointer was removed.

See also

TFPHashList.Delete

  

Delete an item from the list.

TFPHashList.Clear

  

Clear the list.

TFPHashList.Extract

  

Extract a pointer from the list.


Documentation generated on: Oct 27 2024