Sign in Join
FPDoc Onlineexperiment

TFPGInterfacedObjectList.IndexOf function

Member of TFPGInterfacedObjectListpublicIn unit fgl

Index of object.

Declaration

pascal
function IndexOf(const Item: T): Integer

Arguments

Item

Item to search in the list.

Function result

Index of Item in the list or -1 if it is not in the list.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.