Signature (Visual Basic / VBA)
Public Property Get Key( _
ByVal vNumber As Long _
) As Variant
Code 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"
Parameters
| Parameter | Description |
|---|---|
| vNumber | Position of the hash table entry whose Key should be returned. Generates a runtime error if vNumber is not between 1 and Count . |
Notes & Version History
| v1.5 Addition | This property is new to version 1.5 of Entisoft Tools. |