OnTableClearing Method

DataTable.OnTableClearing Method (DataTableClearEventArgs)


Raises the TableClearing event.

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

protected virtual void OnTableClearing(
	DataTableClearEventArgs 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
© 2015 Microsoft