[Overview][Types][Classes][Index] |
Gets the ordinal position in List where the specified TItem instance is stored.
Source position: objectlists.pas line 73
public function TObjectArray.IndexOf( |
Item: TItem |
):Integer; |
Item |
|
TItem instance to locate in the List of associations. |
Ordinal position for the requested TItem instance.
IndexOf is an Integer function used to get the ordinal position in List where the TItem instance specified in Item is stored. IndexOf iterates over the storage in List in reverse order.
The return value contains the ordinal position where the T2Pointer.Item member and the Item argument contain the same class instance. The return value is -1 when Item is not located in the associations stored in List.
|
Provides access to the list which implements the storage for the item/object associations in the class instance. |
|
|
Record type with pointers to members in the association. |
Version 4.0 | Generated 2025-05-03 | Home |