ProviderCollection.Clear Method ()

 

Removes all items from the collection.

Namespace:   System.Configuration.Provider
Assembly:  System.Configuration (in System.Configuration.dll)

public void Clear()

Exception Condition
NotSupportedException

The collection is set to read-only.

.NET Framework
Available since 2.0
Return to top
Show: