DataTable.OnColumnChanging(DataColumnChangeEventArgs) DataTable.OnColumnChanging(DataColumnChangeEventArgs) DataTable.OnColumnChanging(DataColumnChangeEventArgs) DataTable.OnColumnChanging(DataColumnChangeEventArgs) Method

定義

引發 ColumnChanging 事件。Raises the ColumnChanging event.

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

參數

備註

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

給繼承者的注意事項

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

適用於

另請參閱