Method Clear
Clear()
Clears all keys and values from the dictionary and associated value collections.
Declaration
void Clear()
Clear(TKey)
Clears the values in the collection associated with the specified key and removes the key from the dictionary.
Declaration
bool Clear(TKey key)
Parameters
Type | Name | Description |
---|---|---|
TKey | key |
Returns
Type | Description |
---|---|
bool |