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

# TList.Remove

Removes a value from the list.

## Declaration

`public function TList.Remove(`
`Item: Pointer`
`):Integer;`

## Description

Remove searches Item in the list, and, if it finds it, deletes the item from the list. Only the first occurrence of Item is removed.

## See also

TList.Delete |  | Removes a pointer from the list.
TList.IndexOf |  | Returns the index of a given pointer.
Tlist.Insert |  | Inserts a new pointer in the list at a given position.