Share via


IContextAccessor.AddStringValue(String, String) Method

Definition

Adds an element with the specified key and value.

public:
 void AddStringValue(System::String ^ key, System::String ^ value);
public void AddStringValue (string key, string value);
abstract member AddStringValue : string * string -> unit
Public Sub AddStringValue (key As String, value As String)

Parameters

key
String

A string that represents the key of the element to add.

value
String

A string value to add.

Applies to