ITmi.AddTest Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Function AddTest ( _
    test As ITestElement _
) As ITestElement
ITestElement AddTest(
    ITestElement test
)
ITestElement^ AddTest(
    ITestElement^ test
)
abstract AddTest : 
        test:ITestElement -> ITestElement 
function AddTest(
    test : ITestElement
) : ITestElement

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
The added test element.

.NET Framework Security

See Also

Reference

ITmi Interface

Microsoft.VisualStudio.TestTools.Common Namespace

ITestElement