DataTableMappingCollection::Clear Method ()
.NET Framework (current version)
Removes all DataTableMapping objects from the collection.
Assembly: System.Data (in System.Data.dll)
The following example uses the CopyTo method to export the collection to an array of DataTableMapping objects. It then clears the collection, and returns true if the parameters are no longer persisting. This example assumes that a DataTableMappingCollection has already been created.
.NET Framework
Available since 1.1
Available since 1.1
Show: