DataTable.OnTableClearing Method (DataTableClearEventArgs)

 
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.

Raises the TableClearing event.

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

protected virtual void OnTableClearing(
	DataTableClearEventArgs e
)

Parameters

e
Type: System.Data.DataTableClearEventArgs

A DataTableClearEventArgs that contains the event data.

Raises the TableClearing event, which is fired before processing of the Clear operation begins.

Raising an event invokes the event handler through a delegate. For an overview, see NIB: Raising an Event.

.NET Framework
Available since 2.0
Return to top
Show: