System.Configuration.ConfigurationSettings Class

Assembly: System.dll
Namespace: System.Configuration
Summary
Provides access to configuration settings in a specified configuration section. This class cannot be inherited.
C# Syntax:
public sealed class ConfigurationSettings
See also:
System.Configuration Namespace

System.Configuration.ConfigurationSettings Member List:

Public Properties
AppSettings Read-only

Gets configuration settings in the configuration section.
Public Methods
Equals
(inherited from System.Object)
See base class member description: System.Object.Equals

Derived from System.Object, the primary base class for all objects.
GetConfig Returns configuration settings for a user-defined configuration section.
GetHashCode
(inherited from System.Object)
See base class member description: System.Object.GetHashCode

Derived from System.Object, the primary base class for all objects.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from System.Object)
See base class member description: System.Object.ToString

Derived from System.Object, the primary base class for all objects.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Configuration.ConfigurationSettings Member Details

Property: AppSettings (read-only)
Summary
Gets configuration settings in the configuration section.
C# Syntax:
public static NameValueCollection AppSettings {get;}

Return to top


Method: Equals(
   object obj
)
Inherited
See base class member description: System.Object.Equals
C# Syntax:
public virtual bool Equals(
   object obj
);

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~ConfigurationSettings();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetConfig(
   string sectionName
)
Summary
Returns configuration settings for a user-defined configuration section.
C# Syntax:
public static object GetConfig(
   string sectionName
);
Parameters:

sectionName

The configuration section to read.

Return Value:
The configuration settings for sectionName.

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.Object.GetHashCode
C# Syntax:
public virtual int GetHashCode();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.Object.ToString
C# Syntax:
public virtual string ToString();

For more information on members inherited from System.Object click on the link above.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.