Edytuj

Udostępnij za pośrednictwem


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

AppSettings
Obsolete.
Obsolete.

Gets a read-only collection of the application settings from the configuration file.

Methods

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