Public Function Lookup( _ ByRef rItem As Variant _ , ByVal vKey As Variant _ ) As Boolean
Assuming Dim htTemp As New HashTable htTemp.Add "FunctionName", 23 htTemp.Add "FunctionName", 24 Dim varData As Variant Dim bResult As Boolean for example bResult = htTemp.Lookup(varData, "FunctionName") leaves bResult = True varData = 24rItem: The Item that will be returned if the lookup is successful. rItem can be any data type (vbString, numeric, vbDate, vbObject, vbArray, etc.) as long as it is compatible with the Item to be returned. It is frequently wisest to use a Variant since they can accept any type of Item.
Exists Method Remove Method Update Method Add Method AddOrUpdate Method Compare Propertyv1.3 BugFix: This method has been fixed to support the retrieval of Object and DataObject type Items.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.