Unit 'fgl' Package
[Overview][Constants][Types][Classes][Index] [#rtl]

TFPGMapInterfacedObjectData.IndexOfData

Find index of data value in the list.

Declaration

Source position: fgl.pp line 433

public function TFPGMapInterfacedObjectData.IndexOfData(

  const AData: TData

):Integer;

Arguments

AData

  

Data value to search.

Function result

Index of AData in the list, -1 if not present.

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

TFPGMapInterfacedObjectData.Find

  

Find item based on key.

TFPGMapInterfacedObjectData.IndexOf

  

Find index of a key in the list.


Documentation generated on: Nov 23 2024