IContextAccessor.AddStringValue Method
Adds an element with the specified key and value.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Sub AddStringValue ( _
key As String, _
value As String _
)
void AddStringValue(
string key,
string value
)
void AddStringValue(
String^ key,
String^ value
)
abstract AddStringValue :
key:string *
value:string -> unit
function AddStringValue(
key : String,
value : String
)
Parameters
key
Type: StringA string that represents the key of the element to add.
value
Type: StringA string value to add.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.