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.

AppSettingsSection::Settings Property

 

Gets a collection of key/value pairs that contains application settings.

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

public:
[ConfigurationPropertyAttribute("", IsDefaultCollection = true)]
property KeyValueConfigurationCollection^ Settings {
	KeyValueConfigurationCollection^ get();
}

Property Value

Type: System.Configuration::KeyValueConfigurationCollection^

A collection of key/value pairs that contains the application settings from the configuration file.

The following example uses the Settings property to read the appSettings values.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: