Chỉnh sửa

ConfigurationSettings Class

Definition

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.

Applies to

See also