Share via


XmlConfigHelper.GetAppSetting(String) Method

Definition

Gets the string value of the setting with the specified key in the appSettings config section with the specified key and value.

public:
 abstract System::String ^ GetAppSetting(System::String ^ key);
public:
 abstract Platform::String ^ GetAppSetting(Platform::String ^ key);
 abstract std::wstring GetAppSetting(std::wstring const & key);
public abstract string GetAppSetting (string key);
abstract member GetAppSetting : string -> string
Public MustOverride Function GetAppSetting (key As String) As String

Parameters

key
String

The key of the app setting.

Returns

Returns String.

Applies to