IContextAccessor.AddIntValue 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 AddIntValue ( _
key As String, _
value As Integer _
)
void AddIntValue(
string key,
int value
)
void AddIntValue(
String^ key,
int value
)
abstract AddIntValue :
key:string *
value:int -> unit
function AddIntValue(
key : String,
value : int
)
Parameters
- key
Type: System.String
A string that represents the key of the element to add.
- value
Type: System.Int32
An int 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.