[Overview][Constants][Types][Classes][Index] Reference for unit 'fgl' (#rtl)

TFPGMapObject.IndexOfData

Find index of data value in the list.

Declaration

Source position: fgl.pp line 378

public function TFPGMapObject.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 object AData in the list, or -1 if the data was not found in the list.

Errors

None.

See also

TFPGMapObject.Find

  

Find item based on key

TFPGMapObject.IndexOf

  

Find index of a key in the list.


Documentation generated on: Jun 22 2020