IContextAccessor.GetObject Method
Retrieves the object 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 GetObject ( _
key As String _
) As Object
Object GetObject(
string key
)
Object^ GetObject(
String^ key
)
abstract GetObject :
key:string -> Object
function GetObject(
key : String
) : Object
Parameters
key
Type: StringA string that represents the key for the value to retrieve.
Return Value
Type: Object
The retrieved object 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.