ITmi.GetTest(TestId) 方法

定义

返回对应于指定测试 ID 的测试元素。

public:
 Microsoft::VisualStudio::TestTools::Common::ITestElement ^ GetTest(Microsoft::VisualStudio::TestTools::Common::TestId ^ testId);
public Microsoft.VisualStudio.TestTools.Common.ITestElement GetTest (Microsoft.VisualStudio.TestTools.Common.TestId testId);
abstract member GetTest : Microsoft.VisualStudio.TestTools.Common.TestId -> Microsoft.VisualStudio.TestTools.Common.ITestElement
Public Function GetTest (testId As TestId) As ITestElement

参数

testId
TestId

TestId 对象。

返回

ITestElement

测试元素。

适用于