XmlConfigHelper.GetAppSetting(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.