DataSet.OnPropertyChanging(PropertyChangedEventArgs) Método

Definición

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)

Parámetros

pcevent
PropertyChangedEventArgs

PropertyChangedEventArgs que contiene los datos del evento.A PropertyChangedEventArgs that contains the event data.

Comentarios

Cuando se genera un evento, se invoca el controlador de eventos a través de un delegado.Raising an event invokes the event handler through a delegate. Para obtener información general, consulte controlar y provocar eventos.For an overview, see Handling and Raising Events.

Notas a los desarrolladores de herederos

Al reemplazar OnPropertyChanging(PropertyChangedEventArgs) en una clase derivada, asegúrese de llamar al método de la clase base ' OnPropertyChanging(PropertyChangedEventArgs) .When overriding OnPropertyChanging(PropertyChangedEventArgs) in a derived class, be sure to call the base class' OnPropertyChanging(PropertyChangedEventArgs) method.

Se aplica a

Consulte también