Property Hash Table Class

Count

Return the number of definitions ( Key and Item pairs) currently stored in the hash table.

Signature (Visual Basic / VBA)

Public Property Get Count( _
    ) As Long

Code Example

    Assuming
       Dim htTemp As New HashTable
       htTemp.Add "SubName", 23
       htTemp.Add "FunctionName", 24
       Dim lngCount As Long
    for example
       lngCount = htTemp.Count
    leaves
       lngCount = 2