Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ConfigurationSettings Class

Definition

Namespace:
System.Configuration
Assembly:
System.Configuration.ConfigurationManager.dll
Assembly:
System.dll
Package:
System.Configuration.ConfigurationManager v11.0.0-preview.5.26302.115
Source:
ConfigurationSettings.cs
Source:
ConfigurationSettings.cs
Source:
ConfigurationSettings.cs
Source:
ConfigurationSettings.cs
Source:
ConfigurationSettings.cs
Source:
ConfigurationSettings.cs
Source:
ConfigurationSettings.cs
Source:
ConfigurationSettings.cs
Source:
ConfigurationSettings.cs

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
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetConfig(String)
Obsolete.
Obsolete.

Returns the ConfigurationSection object for the passed configuration section name and path.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also


Feedback

Was this page helpful?