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
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Configuration
Assembly: System (in System.dll)
Return to top
Gets a read-only NameValueCollection of the application settings section of the configuration file.
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.
Note |
|---|
The ConfigurationSettings class provides backward compatibility only. You should use the ConfigurationManager class or WebConfigurationManager class instead. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
