DataTable.OnRowDeleting(DataRowChangeEventArgs) DataTable.OnRowDeleting(DataRowChangeEventArgs) DataTable.OnRowDeleting(DataRowChangeEventArgs) DataTable.OnRowDeleting(DataRowChangeEventArgs) Method

定義

引發 RowDeleting 事件。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)

參數

備註

引發事件會透過委派叫用此事件處理常式。Raising an event invokes the event handler through a delegate. 如需總覽,請參閱處理和引發事件For an overview, see Handling and Raising Events.

給繼承者的注意事項

在衍生OnRowDeleting(DataRowChangeEventArgs)類別中覆寫時,請務必呼叫基類的OnRowDeleting(DataRowChangeEventArgs)方法。When overriding OnRowDeleting(DataRowChangeEventArgs) in a derived class, be sure to call the base class's OnRowDeleting(DataRowChangeEventArgs) method.

適用於

另請參閱