Function Hash Table Class

Exists

Return True if the Key exists within the hash table.

Signature (Visual Basic / VBA)

Public Function Exists( _
    ByVal vKey As Variant _
    ) As Boolean

Code Example

    Assuming
       Dim htTemp As New HashTable
       htTemp.Add "FunctionName", 23
       Dim bResult As Boolean
    for example
       bResult = htTemp.Exists("FunctionName")
    leaves
       bResult = True

Parameters

Parameter Description
vKey The string or numeric identifier whose existence within the hash table is to be checked.

Return Value

Method returns True if the Key was found within the hash table, and it returns False if the Key does NOT exist within the hash table.

Notes & Version History

v1.5 Addition This method is new to version 1.5 of Entisoft Tools.