TFPGMapInterfacedObjectData.IndexOfData

Find index of data value in the list.

Declaration

Source position: fgl.pp line 430

public 
  function IndexOfData(const AData: TData) : Integer;

Description

IndexOfData returns the index of AData in the list, or -1 if the data was not found in the list.

Errors

None.

See also

Name Description
TFPGMapInterfacedObjectData.Find Find item based on key
TFPGMapInterfacedObjectData.IndexOf Find index of a key in the list.

results matching ""

    No results matching ""