ConfigurationPropertyCollection::Clear Method ()
.NET Framework (current version)
Removes all configuration property objects from the collection.
Assembly: System.Configuration (in System.Configuration.dll)
The following example shows how to use the Clear method.
The following example shows how to call the above method and save the changes to the configuration file.
.NET Framework
Available since 2.0
Available since 2.0
Show: