[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'Contnrs' (#fcl)

# TFPHashList.Remove

Remove first instance of a pointer

## Declaration

Source position: contnrs.pp line 255

`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: May 14 2021