Remove an element from the dictionary.
[C#] virtual bool Remove(string key) virtual bool Remove(TKey key) [Visual Basic] Overridable Function Remove(key As string) As Boolean Overridable Function Remove(key As TKey) As Boolean
virtual bool Remove(string key) virtual bool Remove(TKey key)
Overridable Function Remove(key As string) As Boolean Overridable Function Remove(key As TKey) As Boolean
NullReferenceException: Thrown if the key was null.
Removes the value with the specified name from the dictionary.