ConfigurationPropertyCollection.Clear Method

Definition

Removes all configuration property objects from the collection.

public:
 void Clear();
public void Clear ();
member this.Clear : unit -> unit
Public Sub Clear ()

Examples

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.

Applies to

See also