DataTable.OnColumnChanged(DataColumnChangeEventArgs) 方法

定义

引发 ColumnChanged 事件。Raises the ColumnChanged event.

protected public:
 virtual void OnColumnChanged(System::Data::DataColumnChangeEventArgs ^ e);
protected:
 virtual void OnColumnChanged(System::Data::DataColumnChangeEventArgs ^ e);
protected internal virtual void OnColumnChanged (System.Data.DataColumnChangeEventArgs e);
protected virtual void OnColumnChanged (System.Data.DataColumnChangeEventArgs e);
abstract member OnColumnChanged : System.Data.DataColumnChangeEventArgs -> unit
override this.OnColumnChanged : System.Data.DataColumnChangeEventArgs -> unit
Protected Friend Overridable Sub OnColumnChanged (e As DataColumnChangeEventArgs)
Protected Overridable Sub OnColumnChanged (e As DataColumnChangeEventArgs)

参数

e
DataColumnChangeEventArgs

包含事件数据的 DataColumnChangeEventArgsA DataColumnChangeEventArgs that contains the event data.

注解

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

继承者说明

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

适用于

另请参阅