KeyValueConfigurationCollection::Clear Method ()

 

Clears the KeyValueConfigurationCollection collection.

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

public:
void Clear()

When the Clear method is called, it removes all KeyValueConfigurationElement objects from the collection.

.NET Framework
Available since 2.0
Return to top
Show: