Settings Members

The Settings type exposes the following members.

Methods


  Name Description
Public method Equals(System.Object)
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 the default hash function.
(Inherited from Object.)
Public method GetPreviousVersion(System.String)
Returns the value of the named settings property for the previous version of the same application.
(Inherited from ApplicationSettingsBase.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Initialize(System.Configuration.SettingsContext,System.Configuration.SettingsPropertyCollection,System.Configuration.SettingsProviderCollection)
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(System.Object,System.ComponentModel.PropertyChangedEventArgs)
Raises the PropertyChanged event.
(Inherited from ApplicationSettingsBase.)
Protected method OnSettingChanging(System.Object,System.Configuration.SettingChangingEventArgs)
Raises the SettingChanging event.
(Inherited from ApplicationSettingsBase.)
Protected method OnSettingsLoaded(System.Object,System.Configuration.SettingsLoadedEventArgs)
Raises the SettingsLoaded event.
(Inherited from ApplicationSettingsBase.)
Protected method OnSettingsSaving(System.Object,System.ComponentModel.CancelEventArgs)
Raises the SettingsSaving event.
(Inherited from ApplicationSettingsBase.)
Public method Reload
Refreshes the application settings property values from persistent storage.
(Inherited from ApplicationSettingsBase.)
Public method Reset
Restores the persisted application settings values to their corresponding default properties.
(Inherited from ApplicationSettingsBase.)
Public method Save
Stores the current values of the application settings properties.
(Inherited from ApplicationSettingsBase.)
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.
(Inherited from ApplicationSettingsBase.)

Fields


  Name Description
Private field Static member defaultInstance

Properties


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

Events


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