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

TFPGMap.Keys

Indexed access to the keys in the list.

Declaration

Source position: fgl.pp line 333

public property TFPGMap.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

TFPGMap.Data

  

Indexed access to the data in the list

TFPGMap.KeyData

  

Access to data based on key


Documentation generated on: Jun 23 2021