Bewerken

Share via


DataTable.OnRowDeleting(DataRowChangeEventArgs) Method

Definition

Raises the RowDeleting event.

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

Parameters

e
DataRowChangeEventArgs

A DataRowChangeEventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. For an overview, see Handling and Raising Events.

Notes to Inheritors

When overriding OnRowDeleting(DataRowChangeEventArgs) in a derived class, be sure to call the base class's OnRowDeleting(DataRowChangeEventArgs) method.

Applies to

See also