Share via


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: System.String
    A string that represents the key of the element to retrieve.

Return Value

Type: System.Int32
The retrieved int value.

.NET Framework Security

See Also

Reference

IContextAccessor Interface

Microsoft.VisualStudio.TestTools.Execution Namespace