Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConfigurationSettings::AppSettings Property

 
Note: This API is now obsolete.

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

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

public:
[ObsoleteAttribute("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings")]
property NameValueCollection^ AppSettings {
	static NameValueCollection^ get();
}

Property Value

Type: System.Collections.Specialized::NameValueCollection^

A read-only NameValueCollection of the application settings section from the configuration file.

The appSettings section element of the configuration file contains a series of name/value pairs that your application can use for any purpose.

This method is deprecated and is maintained for backward compatibility. Please use the GetSection method instead.

System_CAPS_noteNote

The ConfigurationSettings class provides backward compatibility only. You should use the ConfigurationManager class or WebConfigurationManager class instead.

.NET Framework
Available since 1.1
Return to top
Show: