Share via


ITestAggregation.Add Method

When implemented in a derived class, adds a test element ID to the list of tests in the aggregation.

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

Syntax

'Declaration
Sub Add ( _
    link As Link _
)
void Add(
    Link link
)
void Add(
    Link^ link
)
abstract Add : 
        link:Link -> unit 
function Add(
    link : Link
)

Parameters

Remarks

Adding a test element more than one time creates multiple copies of the element.

.NET Framework Security

See Also

Reference

ITestAggregation Interface

Microsoft.VisualStudio.TestTools.Common Namespace