Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
Function GetTest ( _
testId As TestId _
) As ITestElement
'使用
Dim instance As ITmi
Dim testId As TestId
Dim returnValue As ITestElement
returnValue = instance.GetTest(testId)
ITestElement GetTest(
TestId testId
)
ITestElement^ GetTest(
TestId^ testId
)
function GetTest(
testId : TestId
) : ITestElement
Parameters
- testId
Type: Microsoft.VisualStudio.TestTools.Common.TestId
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
Permissions
- 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.