Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
)

Parameters

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
Show:
© 2017 Microsoft