This documentation is archived and is not being maintained.

ApplicationSettingsBase Members

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

The ApplicationSettingsBase type exposes the following members.

Protected method ApplicationSettingsBase Overloaded. Initializes an instance of the ApplicationSettingsBase class.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPreviousVersion Returns the value of the named settings property for the previous version of the same application.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Initialize Initializes internal properties used by SettingsBase object. (Inherited from SettingsBase.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnPropertyChanged Raises the PropertyChanged event.
Protected method OnSettingChanging Raises the SettingChanging event.
Protected method OnSettingsLoaded Raises the SettingsLoaded event.
Protected method OnSettingsSaving Raises the SettingsSaving event.
Public method Reload Refreshes the application settings property values from persistent storage.
Public method Reset Restores the persisted application settings values to their corresponding default properties.
Public method Save Stores the current values of the application settings properties. (Overrides SettingsBase.Save().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Upgrade Updates application settings to reflect a more recent installation of the application.

Public property Context Gets the application settings context associated with the settings group. (Overrides SettingsBase.Context.)
Public property IsSynchronized Gets a value indicating whether access to the object is synchronized (thread safe). (Inherited from SettingsBase.)
Public property Item Gets or sets the value of the specified application settings property. (Overrides SettingsBase.Item[String].)
Public property Properties Gets the collection of settings properties in the wrapper. (Overrides SettingsBase.Properties.)
Public property PropertyValues Gets a collection of property values. (Overrides SettingsBase.PropertyValues.)
Public property Providers Gets the collection of application settings providers used by the wrapper. (Overrides SettingsBase.Providers.)
Public property SettingsKey Gets or sets the settings key for the application settings group.

Public event PropertyChanged Occurs after the value of an application settings property is changed.
Public event SettingChanging Occurs before the value of an application settings property is changed.
Public event SettingsLoaded Occurs after the application settings are retrieved from storage.
Public event SettingsSaving Occurs before values are saved to the data store.