ITmi.GetTest Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns the test element that corresponds to the specified test ID.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Function GetTest ( _
testId As TestId _
) As ITestElement
ITestElement GetTest(
TestId testId
)
ITestElement^ GetTest(
TestId^ testId
)
abstract GetTest :
testId:TestId -> ITestElement
function GetTest(
testId : TestId
) : ITestElement
Parameters
- testId
Type: Microsoft.VisualStudio.TestTools.Common.TestId
A TestId object.
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
A test element.
.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.