DataSet.OnRemoveTable Method (DataTable)


Occurs when a DataTable is removed from a DataSet.

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

abstract OnRemoveTable : 
        table:DataTable -> unit
override OnRemoveTable : 
        table:DataTable -> unit


Type: System.Data.DataTable

The DataTable being removed.

This method can be overridden by subclasses to restrict tables from being removed.

The following example shows a class derived from the DataSet with the OnRemoveTable method overridden.

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

.NET Framework
Available since 1.1
Return to top