共用方式為


DataTable.OnColumnChanging(DataColumnChangeEventArgs) 方法

定義

引發 ColumnChanging 事件。

protected public:
 virtual void OnColumnChanging(System::Data::DataColumnChangeEventArgs ^ e);
protected:
 virtual void OnColumnChanging(System::Data::DataColumnChangeEventArgs ^ e);
protected internal 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 Friend Overridable Sub OnColumnChanging (e As DataColumnChangeEventArgs)
Protected Overridable Sub OnColumnChanging (e As DataColumnChangeEventArgs)

參數

e
DataColumnChangeEventArgs

DataColumnChangeEventArgs,其中包含事件資料。

備註

引發事件會透過委派叫用此事件處理常式。 如需概觀,請參閱 處理和引發事件

給繼承者的注意事項

OnColumnChanging(DataColumnChangeEventArgs) 衍生類別中覆寫時,請務必呼叫基類的 OnColumnChanging(DataColumnChangeEventArgs) 方法。

適用於

另請參閱