Redigera

Dela via


DataTable.OnTableClearing(DataTableClearEventArgs) Method

Definition

Raises the TableClearing event.

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

Parameters

e
DataTableClearEventArgs

A DataTableClearEventArgs that contains the event data.

Remarks

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

Applies to

See also