TFPGMapInterfacedObjectData.IndexOf

Find index of a key in the list.

Declaration

Source position: fgl.pp line 429

public 
  function IndexOf(const AKey: TKey) : Integer;

Description

IndexOf returns the index of AKey in the list, or -1 if the key was not found in the list.

Errors

None.

See also

Name Description
TFPGMapInterfacedObjectData.Find Find item based on key
TFPGMapInterfacedObjectData.IndexOfData Find index of data value in the list.

results matching ""

    No results matching ""