Share via


IContextAccessor.GetDoubleValue 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 GetDoubleValue ( _
    key As String _
) As Double
double GetDoubleValue(
    string key
)
double GetDoubleValue(
    String^ key
)
abstract GetDoubleValue : 
        key:string -> float 
function GetDoubleValue(
    key : String
) : double

Parameters

  • key
    Type: System.String
    A string that represents the key of the element to retrieve.

Return Value

Type: System.Double
The retrieved double value.

.NET Framework Security

See Also

Reference

IContextAccessor Interface

Microsoft.VisualStudio.TestTools.Execution Namespace