System.Configuration.ApplicationSettingsBase Class

Acts as a base class for deriving concrete wrapper classes to implement the application settings feature in Window Forms applications.

See Also: ApplicationSettingsBase Members

Syntax

public abstract class ApplicationSettingsBase : SettingsBase, System.ComponentModel.INotifyPropertyChanged

Remarks

System.Configuration.ApplicationSettingsBase adds the following functionality to the System.Configuration.SettingsBase class, which is used by Web-based applications:

In the application settings architecture, to access a group of settings properties you need to derive a concrete wrapper class from System.Configuration.ApplicationSettingsBase. The wrapper class customizes System.Configuration.ApplicationSettingsBase in the following ways:

The System.Configuration.ApplicationSettingsBase class uses reflection to detect these attributes at run time. Most of this information gets passed to the settings provider layer, which is responsible for storage, persistence format, and so on.

When an application has multiple settings wrapper classes, each class defines a settings group. Each group has the following characteristics:

By default, all client-based applications use the System.Configuration.LocalFileSettingsProvider to provide storage. If an alternate settings provider is desired, then the wrapper class or property must be decorated with a corresponding System.Configuration.SettingsProviderAttribute.

For more information about using application settings, see Application Settings for Windows Forms.

Requirements

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