DataSet.OnPropertyChanging(PropertyChangedEventArgs) DataSet.OnPropertyChanging(PropertyChangedEventArgs) DataSet.OnPropertyChanging(PropertyChangedEventArgs) DataSet.OnPropertyChanging(PropertyChangedEventArgs) Method

定义

protected public:
 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 Friend Overridable Sub OnPropertyChanging (pcevent As PropertyChangedEventArgs)

参数

注解

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

继承者说明

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

适用于

另请参阅