DataColumnCollection.Clear Method ()

 

Clears the collection of any columns.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

member Clear : unit -> unit

If the collection is successfully changed by adding or removing columns, the CollectionChanged event occurs.

The following example clears the columns collection.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: