PropertyCollection::IDictionary::Clear Method ()
.NET Framework (current version)
Removes all elements from the IDictionary object.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
Implements
IDictionary::Clear()| Exception | Condition |
|---|---|
| NotSupportedException | The IDictionary object is read-only. |
The following example demonstrates how to implement the Clear method. This example is part of a larger example provided for the IDictionary class.
.NET Framework
Available since 1.1
Available since 1.1
Show: