แก้ไข

แชร์ผ่าน


DataTable.OnPropertyChanging(PropertyChangedEventArgs) Method

Definition

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