TFPHashObjectList.IndexOf function
Return the index of the object instance.
Declaration
function IndexOf(AObject: TObject): IntegerArguments
AObject | Data object instance to search for. |
Function result
Index of
Item in the list.
Description
IndexOf returns the index of the first occurrence of object instance
AObject. If the object is not in the list, -1 is returned.
The performed search is linear, and not very efficient.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
