ConfigurationSettings Class

 

Provides runtime versions 1.0 and 1.1 support for reading configuration sections and common configuration settings.

Namespace:   System.Configuration
Assembly:  System (in System.dll)

System.Object
  System.Configuration.ConfigurationSettings

public sealed class ConfigurationSettings

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAppSettings

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetConfig(String)

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

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

System_CAPS_noteNote

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.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: