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.
WebConfigurationManager::AppSettings Property
.NET Framework (current version)
Gets the Web site's application settings.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Collections.Specialized::NameValueCollection^A NameValueCollection object that contains the AppSettingsSection object for the current Web application's default configuration.
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | A valid NameValueCollection object could not be retrieved with the application settings data. |
An AppSettingsSection object contains the configuration file's <appSettings> section.
.NET Framework
Available since 2.0
Available since 2.0
Show: