System.Configuration.ApplicationSettingsBase.Reset Method

Restores the persisted application settings values to their corresponding default properties.

Syntax

public void Reset ()

Remarks

The ApplicationSettingsBase.Reset method overwrites the user-scoped settings properties by restoring the currently persisted value of each application settings. This method performs the following actions:

ApplicationSettingsBase.Reload contrasts with ApplicationSettingsBase.Reset in that the former will load the last set of saved application settings values, whereas the latter will load the saved default values.

Requirements

Namespace: System.Configuration
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0