Click or drag to resize

AppSettingsBase Methods

The AppSettingsBase type exposes the following members.

Methods
  Name Description
Protected method CreateSetting Create setting in configuration file if it doesn't already exist. This method is for internal use.
(Overrides SettingsBaseCreateSetting(String, String, String))
Public method CreateValue Adds a setting to the application's configuration file, if it doesn't already exist.
(Inherited from SettingsBase)
Protected method DeriveDefaultValue Attempts to get best default value for given member.
(Inherited from SettingsBase)
Public method Dispose Releases all the resources used by the CategorizedSettingsBase object.
(Inherited from SettingsBase)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the CategorizedSettingsBase object and optionally releases the managed resources.
(Inherited from SettingsBase)
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method ExecuteActionForFields Executes specified action over all public derived class member fields.
(Inherited from SettingsBase)
Protected method ExecuteActionForProperties Executes specified action over all public derived class properties.
(Inherited from SettingsBase)
Protected method Finalize Releases the unmanaged resources before the CategorizedSettingsBase object is reclaimed by GC.
(Inherited from SettingsBase)
Protected method GetAttributeValueTAttribute, TValue Attempts to find specified attribute and return specified value.
(Inherited from SettingsBase)
Public method GetDefaultValue Gets the default value specified by DefaultValueAttribute, if any, applied to the specified field or property.
(Inherited from SettingsBase)
Public method GetEncryptKey Gets the optional private encryption key specified by EncryptSettingAttribute, if any, applied to the specified field or property.
(Inherited from SettingsBase)
Public method GetEncryptStatus Gets the encryption status specified by EncryptSettingAttribute, if any, applied to the specified field or property.
(Inherited from SettingsBase)
Public method GetEnumerator Returns an enumerator based on String elements that iterates over the field and property names of this class that are targeted for serialization to the configuration file.
(Inherited from SettingsBase)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetSettingName Gets setting name to use for specified field or property.
(Inherited from SettingsBase)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method GetValue(String, Type) Gets the application's configuration file setting converted to the given type.
(Inherited from SettingsBase)
Public method GetValueT(String) Gets the application's configuration file setting converted to the given type.
(Inherited from SettingsBase)
Public method GetValueT(String, T) Copies the specified application setting into the given value.
(Inherited from SettingsBase)
Protected method Initialize Initializes configuration settings from derived class fields or properties.
(Inherited from SettingsBase)
Public method Load Loads configuration file into setting fields.
(Inherited from SettingsBase)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method PersistSettings Persist any pending changes to configuration file. This method is for internal use.
(Overrides SettingsBasePersistSettings)
Public method RestoreDefaultSettings Restores the default settings of the configuration file.
(Inherited from SettingsBase)
Protected method RetrieveSetting Retrieves setting from configuration file. This method is for internal use.
(Overrides SettingsBaseRetrieveSetting(String, String))
Public method Save Saves setting fields into configuration file.
(Inherited from SettingsBase)
Public method SetValue Copies the given value into the specified application setting.
(Inherited from SettingsBase)
Protected method StoreSetting Stores setting to configuration file. This method is for internal use.
(Overrides SettingsBaseStoreSetting(String, String, String))
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also