Dictionary.Remove Method (VB6) |
Yes
dictionaryobject.Remove key
dictionaryobject
Use: Required
Data Type: Dictionary object
A reference to a Dictionary object.
key
Use: Required
Data Type: String
The key associated with the item to be removed.
Removes both the specified key and its associated data (i.e., its item) from the dictionary.
If key doesn't exist, runtime error 32811, "Method `Remove' of object `IDictionary' failed," occurs.