TFPGObjectList.IndexOf¶
Index of item.
Declaration¶
Source position: fgl.pp line 205
public
function TFPGObjectList.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 |
|---|---|
| TFPGObjectList.Items | Indexed access to objects in the list. |
| TFPGObjectList.Insert | Insert a new object in the list. |
| TFPGObjectList.Add | Add new object of class T to the list. |