ConfigurationSettings ConfigurationSettings ConfigurationSettings ConfigurationSettings Class


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


Using the static methods and properties of the ConfigurationSettings type is the recommended method for reading configuration information at runtime for versions 1.0 and 1.1 applications.


The ConfigurationSettings class provides backward compatibility only. For new applications you should use the ConfigurationManager class or WebConfigurationManager class instead. To use these two classes, you must add a reference in your project or application to the System.Configuration namespace.


AppSettings AppSettings AppSettings AppSettings

Gets a read-only NameValueCollection of the application settings section of the configuration file.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetConfig(String) GetConfig(String) GetConfig(String) GetConfig(String)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also