共用方式為


DataSet.OnPropertyChanging(PropertyChangedEventArgs) 方法

定義

protected:
 virtual void OnPropertyChanging(System::ComponentModel::PropertyChangedEventArgs ^ pcevent);
protected public:
 virtual void OnPropertyChanging(System::ComponentModel::PropertyChangedEventArgs ^ pcevent);
protected virtual void OnPropertyChanging (System.ComponentModel.PropertyChangedEventArgs pcevent);
protected internal virtual void OnPropertyChanging (System.ComponentModel.PropertyChangedEventArgs pcevent);
abstract member OnPropertyChanging : System.ComponentModel.PropertyChangedEventArgs -> unit
override this.OnPropertyChanging : System.ComponentModel.PropertyChangedEventArgs -> unit
Protected Overridable Sub OnPropertyChanging (pcevent As PropertyChangedEventArgs)
Protected Friend Overridable Sub OnPropertyChanging (pcevent As PropertyChangedEventArgs)

參數

pcevent
PropertyChangedEventArgs

PropertyChangedEventArgs,其中包含事件資料。

備註

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

給繼承者的注意事項

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

適用於

另請參閱