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)

SystemObject
  System.ConfigurationConfigurationSettings

public sealed class ConfigurationSettings
public ref class ConfigurationSettings sealed 
[<Sealed>]
type ConfigurationSettings = class end
Public NotInheritable Class ConfigurationSettings
NameDescription
System_CAPS_pubproperty System_CAPS_static

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

NameDescription
System_CAPS_pubmethod Equals

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

System_CAPS_pubmethod System_CAPS_static GetConfig

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

System_CAPS_pubmethod GetHashCode

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

System_CAPS_pubmethod GetType

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

System_CAPS_pubmethod ToString

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