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: StringThe key for the string to retrieve.
Return Value
Type: String
The retrieved string 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.