AppSettings Property
Collapse the table of content
Expand the table of content

ConfigurationSettings.AppSettings Property

Gets configuration settings in the <appSettings> Element configuration section.

[Visual Basic]
Public Shared ReadOnly Property AppSettings As NameValueCollection
public static NameValueCollection AppSettings {get;}
public: __property static NameValueCollection* get_AppSettings();
public static function get AppSettings() : NameValueCollection;

Property Value

A NameValueCollection containing name/value pairs of configuration settings.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ConfigurationSettings Class | ConfigurationSettings Members | System.Configuration Namespace

© 2015 Microsoft