Remove an element from the dictionary.

 

   

Syntax
 

[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

 

Throws Exceptions NullReferenceException: Thrown if the key was null.

 

   

Params
 
Name Description
key The name of the element to remove.
return True if the element is successfully found and removed otherwise false.

 

   

Notes
 

Remove an element from the dictionary.

Removes the value with the specified name from the dictionary.

 

   

Example
 
None.