Share via


DataSourceElementCollection.Clear Method

Removes all data source element objects from the collection.

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

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As DataSourceElementCollection

instance.Clear()
public void Clear()
public:
void Clear()
public function Clear()

Remarks

Removes all DataSourceElement objects from the collection. It also inserts a <clear> directive into the configuration file.

.NET Framework Security

See Also

Reference

DataSourceElementCollection Class

DataSourceElementCollection Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace