IContextAccessor.GetIntValue Method
Retrieves the value that is associated with the specified key.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Function GetIntValue ( _
key As String _
) As Integer
int GetIntValue(
string key
)
int GetIntValue(
String^ key
)
abstract GetIntValue :
key:string -> int
function GetIntValue(
key : String
) : int
Parameters
key
Type: StringA string that represents the key of the element to retrieve.
Return Value
Type: Int32
The retrieved int value.
.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.