Removes the element with the specified String key from the IStringStringDictionary.

Namespace: CodeSmith.CustomProperties
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionkey 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.

See Also