Click or drag to resize

ConfigurationFile Methods

The ConfigurationFile type exposes the following members.

Methods
  Name Description
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 the default hash function.
(Inherited from Object)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method Static member Open Opens application config file at the specified configFilePath.
Public method Reload Reloads the current configuration settings from the configuration file that the ConfigurationFile represents.
Public method RestoreDefaultUserSettings Restores all the default settings for User scoped settings.
Public method Save Writes the configuration settings contained within this ConfigurationFile object to the configuration file that it represents.
Public method Save(ConfigurationSaveMode) Writes the configuration settings contained within this ConfigurationFile object to the configuration file that it represents.
Public method SaveAs Writes the configuration settings contained within this ConfigurationFile object to the specified configuration file.
Public method SetCryptoKey Sets the key to be used for encrypting and decrypting values of Settings.
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