ITmi.AddTest(ITestElement) Method

Definition

Adds the provided test to the UI of Visual Studio Test Professional.

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

Parameters

test
ITestElement

An ITestElement object.

Returns

The added test element.

Applies to