TFPGList.Remove¶
Remove an item from the list.
Declaration¶
Source position: fgl.pp line 166
public
function TFPGList.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. |