Skip to content

TFPHashList.Remove

Remove first instance of a pointer.

Declaration

Source position: contnrs.pp line 268

public 
function TFPHashList.Remove(Item: Pointer) : SizeInt;

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

Name Description
TFPHashList.Delete Delete an item from the list.
TFPHashList.Clear Clear the list.
TFPHashList.Extract Extract a pointer from the list.