DataTable.OnPropertyChanging(PropertyChangedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the PropertyChanged event.
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)
Parameters
- pcevent
- PropertyChangedEventArgs
A PropertyChangedEventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate. For an overview, see Handling and Raising Events.
Notes to Inheritors
When overriding OnPropertyChanging(PropertyChangedEventArgs) in a derived class, be sure to call the base class's OnPropertyChanging(PropertyChangedEventArgs) method.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา