TFPGList.Remove

Remove an item from the list.

Declaration

Source position: fgl.pp line 159

public 
  function Remove(const Item: T) : Integer;

Description

Remove removes the item Item from the list, and returns the index of the removed item. If no item was removed, -1 is returned. Only the first item is removed.

Errors

None.

See also

Name Description
TFPGList.IndexOf Index of item

results matching ""

    No results matching ""