Mono Class Library: System.Collections.Specialized.NameValueCollection Overview | MembersSystem.Collections.Specialized.NameValueCollection.Clear Method |
Invalidates the cached arrays and removes all entries from the current instance. [Edit]
|
Type Reason NotSupportedException The current instance is read-only. [Edit]
The value of each key and value in the current instance is set to null .
If the current instance is empty, it remains unchanged and no exception is thrown.
[Edit]
Namespace: System.Collections.Specialized
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0