Sign in Join
FPDoc Onlineexperiment

TFPGMapObject.Keys property

Member of TFPGMapObjectpublicIn unit fgl

Indexed access to the keys in the list.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.