DataTable.OnRowChanged(DataRowChangeEventArgs) 方法

定义

引发 RowChanged 事件。Raises the RowChanged event.

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

参数

e
DataRowChangeEventArgs

包含事件数据的 DataRowChangeEventArgsA DataRowChangeEventArgs that contains the event data.

注解

引发事件时,将通过委托调用事件处理程序。Raising an event invokes the event handler through a delegate. 有关概述,请参阅 处理和引发事件For an overview, see Handling and Raising Events.

继承者说明

OnRowChanged(DataRowChangeEventArgs) 在派生类中重写时,请确保调用基类的 OnRowChanged(DataRowChangeEventArgs) 方法。When overriding OnRowChanged(DataRowChangeEventArgs) in a derived class, be sure to call the base class's OnRowChanged(DataRowChangeEventArgs) method.

适用于

另请参阅