Sub Hash Table Class

RemoveAll

Remove all of the definitions from the hash table.

Signature (Visual Basic / VBA)

Public Sub RemoveAll()

Code Example

    Assuming
       Dim htTemp As New HashTable
       htTemp.Add "FunctionName", 23
       htTemp.Add "FunctionName", 24
    for example
       htTemp.RemoveAll
    leaves
       htTemp.Count = 0

Notes & Version History

v1.5 Change Removed the vInitialSize argument. This method will either reinitialize the hash table to its initial size (if the Contract property is True), or it will reinitialize it to its current size (if Contract is False).