This documentation is archived and is not being maintained.

ConfigurationManager Members

Provides access to configuration files for client applications. This class cannot be inherited.

The ConfigurationManager type exposes the following members.

  NameDescription
Public method Static member GetSection Retrieves a specified configuration section for the current application's default configuration.
Public method Static member OpenExeConfiguration Overloaded. Opens the specified client configuration file as a Configuration object.
Public method Static member OpenMachineConfiguration Opens the machine configuration file on the current computer as a Configuration object.
Public method Static member OpenMappedExeConfiguration Opens the specified client configuration file as a Configuration object that uses the specified file mapping and user level.
Public method Static member OpenMappedMachineConfiguration Opens the machine configuration file as a Configuration object that uses the specified file mapping.
Public method Static member RefreshSection Refreshes the named section so the next time that it is retrieved it will be re-read from disk.
Top

  NameDescription
Public property Static member AppSettings Gets the AppSettingsSection data for the current application's default configuration.
Public property Static member ConnectionStrings Gets the ConnectionStringsSection data for the current application's default configuration.
Top
Show: