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

TFPGMapInterfacedObjectData.Keys

Indexed access to the keys in the list.

Declaration

Source position: fgl.pp line 429

public property TFPGMapInterfacedObjectData.Keys[Index: Integer] : TKey
  read GetKey
  write PutKey;

Description

Keys provides indexed access to the key values in the list. Valid values for Index are in the range [0..Count-1]. Key values can always be read, but can only be written if the list is unsorted.

Errors

If the index AIndex is out of range [0..Count-1], an EListError exception will be raised. The same exception is raised if a key is written and the list is sorted.

See also

TFPSList.Count

  

Current element count

TFPGMapInterfacedObjectData.Data

  

Indexed access to the data in the list

TFPGMapInterfacedObjectData.KeyData

  

Access to data based on key


Documentation generated on: Jun 23 2021