Removes all elements from the NameValueCollection.
Namespace: CodeSmith.CustomPropertiesAssembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public virtual void Clear() |
Visual Basic |
---|
Public Overridable Sub Clear |
Implements
IStringStringList..::..Clear()()()()IList..::..Clear()()()()
Remarks
Please refer to Clear()()()() for details.
Exceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | The NameValueCollection is read-only. -or- The NameValueCollection has a fixed size. |