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
link
Type: Microsoft.VisualStudio.TestTools.Common.LinkThe Link to the element or to an aggregation to add.
Remarks
Adding a test element more than one time creates multiple copies of the element.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.