DataTable.OnTableCleared 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 TableCleared event.

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

protected virtual void OnTableCleared(
	DataTableClearEventArgs e
)

Parameters

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
Show: