Share via


DataSourceElementCollection.Add Method

Adds a data source element to DataSourceElementCollection.

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

Syntax

'Declaration
Public Sub Add ( _
    element As DataSourceElement _
)
public void Add(
    DataSourceElement element
)
public:
void Add(
    DataSourceElement^ element
)
member Add : 
        element:DataSourceElement -> unit 
public function Add(
    element : DataSourceElement
)

Parameters

.NET Framework Security

See Also

Reference

DataSourceElementCollection Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

DataSourceElement