DataSet::OnRemoveTable Method (DataTable^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: