DataTable.OnTableClearing(DataTableClearEventArgs) Method

Definition

Inicia el evento TableClearing.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

DataTableClearEventArgs que contiene los datos del evento.A DataTableClearEventArgs that contains the event data.

Remarks

Genera el evento TableClearing, que se desencadena antes de que comience el procesamiento de la operación de Clear.Raises the TableClearing event, which is fired before processing of the Clear operation begins.

Cuando se genera un evento, se invoca el controlador de eventos a través de un delegado.Raising an event invokes the event handler through a delegate. Para obtener información general, consulte controlar y provocar eventos.For an overview, see Handling and Raising Events.

Applies to

See also