<-- Previous || Up || Next -->

Key Property
Hash Table Class

Public Property Get Key( _
    ByVal vNumber As Long _
    ) As Variant

Return the Key at a specific numeric position within the hash table.

Example:
    Assuming
       Dim htTemp As New HashTable
       htTemp.Add "SubName", 23
       htTemp.Add "FunctionName", 24
       Dim varTemp As Variant
    for example
       varTemp = htTemp.Key(2)
    leaves
       varTemp = "FunctionName"
vNumber: Position of the hash table entry whose Key should be returned. Generates a runtime error if vNumber is not between 1 and Count.
See also:
    Item Property
    Keys Property
v1.5 Addition: This property is new to version 1.5 of Entisoft Tools.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.