EditableXmlConfigHelper.SetAppSetting(String, String, 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.
Ensures there is a key-value pair in the appSettings config section with the specified key and value.
abstract void SetAppSetting(std::wstring const & key, std::wstring const & value, std::wstring const & comment = null);
public abstract void SetAppSetting (string key, string value, string comment = default);
abstract member SetAppSetting : string * string * string -> unit
Public MustOverride Sub SetAppSetting (key As String, value As String, Optional comment As String = Nothing)
Parameters
- key
- String
The key of the app setting.
- value
- String
The value of the app setting.
- comment
- String
An optional xml comment to add before the app setting.