Public Property Get Item( _
ByVal vNumber As Long _
) As Variant Assuming
Dim htTemp As New HashTable
htTemp.Add "SubName", 23
htTemp.Add "FunctionName", 24
Dim varTemp As Variant
for example
varTemp = htTemp.Item(2)
leaves
varTemp = 24vNumber: Position of the hash table entry whose Item should be returned. Generates a runtime error if vNumber is not between 1 and Count. Key Property
Items Propertyv1.5 Addition: This property is new to version 1.5 of Entisoft Tools.
![]()
Public Property Let Item( _
ByVal vNumber As Long _
, ByVal vItem As Variant _
) Assuming
Dim htTemp As New HashTable
htTemp.Add "SubName", 23
htTemp.Add "FunctionName", 24
for example
htTemp.Item(2) = "PropertyName"vItem: The Item Property of the hash table entry in position vNumber is changed to vItem. Generates a runtime error if vNumber is not between 1 and Count.
![]()
Public Property Set Item( _
ByVal vNumber As Long _
, ByVal vItem As Variant _
) Assuming
Dim htTemp As New HashTable
htTemp.Add "SubName", 23
htTemp.Add "FunctionName", 24
for example
Set htTemp.Item(2) = NothingvItem: The Item Property of the hash table entry in position vNumber is changed to the Object vItem. Generates a runtime error if vNumber is not between 1 and Count. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.