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

public void 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

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

DataSourceElement