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