Removes the element with the specified key from the IDictionary<(Of <(<'TKey, TValue>)>)>.
            
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
| C# | 
|---|
public bool Remove( string key )  | 
| Visual Basic | 
|---|
Public Function Remove ( key As String ) As Boolean  | 
Parameters
- key
 - Type: System..::..String
The key of the element to remove. 
Return Value
Type: Booleantrue if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary<(Of <(<'TKey, TValue>)>)>.
Implements
IDictionary<(Of <(<'TKey, TValue>)>)>..::..Remove(TKey)
Exceptions
| Exception | Condition | 
|---|---|
| System..::..NotSupportedException | The IDictionary<(Of <(<'TKey, TValue>)>)> is read-only. | 
| System..::..ArgumentNullException | key is null. |