Share via


IContextAccessor.GetStringValue Method

Retrieves a string 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 GetStringValue ( _
    key As String _
) As String
string GetStringValue(
    string key
)
String^ GetStringValue(
    String^ key
)
abstract GetStringValue : 
        key:string -> string
function GetStringValue(
    key : String
) : String

Parameters

  • key
    Type: String

    The key for the string to retrieve.

Return Value

Type: String
The retrieved string value.

.NET Framework Security

See Also

Reference

IContextAccessor Interface

Microsoft.VisualStudio.TestTools.Execution Namespace