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