Skip to content

TFPHashObjectList.NameOfIndex

Returns the key name of an object by index.

Declaration

Source position: contnrs.pp line 324

public 
function TFPHashObjectList.NameOfIndex(Index: Integer) : RawByteString;

Description

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

Errors

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

See also

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