Editare

Partajați prin


DataTable.OnTableCleared(DataTableClearEventArgs) Method

Definition

Raises the TableCleared event.

protected:
 virtual void OnTableCleared(System::Data::DataTableClearEventArgs ^ e);
protected virtual void OnTableCleared (System.Data.DataTableClearEventArgs e);
abstract member OnTableCleared : System.Data.DataTableClearEventArgs -> unit
override this.OnTableCleared : System.Data.DataTableClearEventArgs -> unit
Protected Overridable Sub OnTableCleared (e As DataTableClearEventArgs)

Parameters

e
DataTableClearEventArgs

A DataTableClearEventArgs that contains the event data.

Remarks

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 Handling and Raising Events.

Applies to

See also