ConfigurationSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides runtime versions 1.0 and 1.1 support for reading configuration sections and common configuration settings.
public ref class ConfigurationSettings sealed
public sealed class ConfigurationSettings
type ConfigurationSettings = class
Public NotInheritable Class ConfigurationSettings
- Inheritance
-
ConfigurationSettings
Remarks
Use the static methods and properties of the ConfigurationSettings type to read configuration information at run time for version 1.0 and 1.1 applications.
Note
The ConfigurationSettings class provides backward compatibility only. For new applications, use the ConfigurationManager class or WebConfigurationManager class instead. To use these two classes, add a reference in your project to the System.Configuration namespace.
Properties
| Name | Description |
|---|---|
| AppSettings |
Obsolete.
Obsolete.
Gets a read-only collection of the application settings from the configuration file. |
Methods
| Name | Description |
|---|---|
| GetConfig(String) |
Obsolete.
Obsolete.
Returns the ConfigurationSection object for the passed configuration section name and path. |