ITmi.AddTest(ITestElement) 方法

定义

将提供的测试添加到 Visual Studio Test Professional 的 UI。

public:
 Microsoft::VisualStudio::TestTools::Common::ITestElement ^ AddTest(Microsoft::VisualStudio::TestTools::Common::ITestElement ^ test);
public Microsoft.VisualStudio.TestTools.Common.ITestElement AddTest (Microsoft.VisualStudio.TestTools.Common.ITestElement test);
abstract member AddTest : Microsoft.VisualStudio.TestTools.Common.ITestElement -> Microsoft.VisualStudio.TestTools.Common.ITestElement
Public Function AddTest (test As ITestElement) As ITestElement

参数

test
ITestElement

一个 ITestElement 对象。

返回

ITestElement

添加的测试元素。

适用于