Skip to content

TList.Remove

Removes a value from the list.

Declaration

Source position: classesh.inc line 339

public 
  function 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

Name Description
Delete Removes a pointer from the list.
IndexOf Returns the index of a given pointer.
Insert Inserts a new pointer in the list at a given position.