TFPGList.IndexOf¶
Index of item.
Declaration¶
Source position: fgl.pp line 161
public
function TFPGList.IndexOf(const Item: T) : Integer;
Description¶
IndexOf returns the index of Item in the list, or -1 if the item does not appear in the list.
Errors¶
None.
See also¶
| Name | Description |
|---|---|
| TFPGList.Items | Indexed access to items in the list. |
| TFPGList.Insert | Insert a new item in the list. |
| TFPSList.Add | Add a new item to the list. |