DataSet::OnRemoveTable Method (DataTable^)


Occurs when a DataTable is removed from a DataSet.

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

public protected:
virtual void OnRemoveTable(
	DataTable^ table


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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft