EditableXmlConfigHelper.SetAppSetting(String, String, String) Method

Definition

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 key of the app setting.

comment
String

An optional comment to add to the app setting.

Applies to