OnTableCleared Method

DataTable.OnTableCleared Method (DataTableClearEventArgs)


Raises the TableCleared event.

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

protected virtual void OnTableCleared(
	DataTableClearEventArgs e


Type: System.Data.DataTableClearEventArgs

A DataTableClearEventArgs that contains the event data.

Raises the TableCleared event, which is fired immediately after all rows have been successfully cleared but before the Clear method returns control back to the caller.

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