TFPGMapInterfacedObjectData.Data

Indexed access to the data in the list

Declaration

Source position: fgl.pp line 435

public Property
  Data[Index: Integer]: TData;

Description

Data provides indexed access to the data values in the list. Valid values for Index are in the range [0..Count-1]. Data can always be read or written.

Errors

If the index AIndex is out of range [0..Count-1], an EListError exception will be raised.

See also

Name Description
TFPGMapInterfacedObjectData.KeyData Access to data based on key
TFPGMapInterfacedObjectData.Keys Indexed access to the keys in the list.
TFPSList.Count Current element count