Removes the element with the specified String key
from the IStringStringDictionary.
Namespace: CodeSmith.CustomPropertiesAssembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
void Remove( string key ) |
Visual Basic |
---|
Sub Remove ( key As String ) |
Parameters
- key
- Type: System..::..String
The String key of the element to remove from the IStringStringDictionary.
Remarks
Please refer to Remove(Object) for details.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | key is a null reference. |
System..::..InvalidOperationException | The comparer throws an exception. |
System..::..NotSupportedException | The IStringStringDictionary is read-only. -or- The IStringStringDictionary has a fixed size. |