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
- element
Type: Microsoft.VisualStudio.TestTools.UnitTesting.DataSourceElement
The DataSourceElement to add to the collection.
.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.
See Also
Reference
DataSourceElementCollection Class