[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Contnrs' (#fcl)

TFPHashObjectList.NameOfIndex

Returns the key name of an object by index

Declaration

Source position: contnrs.pp line 311

public function TFPHashObjectList.NameOfIndex(

  Index: Integer

):ShortString;

Arguments

Index

  

Index of object for which to return name

Function result

Key name of object at position Index

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

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


Documentation generated on: May 14 2021