Skip to content

TFPHashList.NameOfIndex

Returns the key name of an item by index.

Declaration

Source position: contnrs.pp line 257

public 
function TFPHashList.NameOfIndex(Index: SizeInt) : RawByteString;

Description

NameOfIndex returns the key name of the item at position Index.

Errors

If Index is out of the valid range, an exception is raised.

See also

Name Description
TFPHashList.HashOfIndex Return the hash value of an item by index.
TFPHashList.Find Find data associated with key.
TFPHashList.FindIndexOf Return index of named item.
TFPHashList.FindWithHash Find first element with given name and hash value.