TSortedCollection.IndexOf function
Return index of an item in the collection.
Declaration
function IndexOf(Item: Pointer): Sw_Integer; virtualDescription
IndexOf returns the index of
Item in the collection. It searches
for the object based on it's key. If duplicates are allowed, then it returns
the index of last object that matches
Item.
In case Item is not found in the collection, -1 is returned.
For an example, see IndexOf
Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
