System.Data.DataTableCollection.Clear Method

Clears the collection of all System.Data.DataTable objects.

Syntax

public void Clear ()

Remarks

To remove a particular DataTable from the collection, use the DataTableCollection.Remove(DataTable) method.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0