This documentation is archived and is not being maintained.

DataSet.OnPropertyChanging Method

Raises the OnPropertyChanging event.

[Visual Basic]
Protected Friend Overridable Sub OnPropertyChanging( _
   ByVal pcevent As PropertyChangedEventArgs _
)
[C#]
protected internal virtual void OnPropertyChanging(
 PropertyChangedEventArgs pcevent
);
[C++]
protected public: virtual void OnPropertyChanging(
 PropertyChangedEventArgs* pcevent
);
[JScript]
protected internal function OnPropertyChanging(
   pcevent : PropertyChangedEventArgs
);

Parameters

pcevent
A PropertyChangedEventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. For an overview, see Raising an Event.

Notes to Inheritors:  When overriding OnPropertyChanging in a derived class, be sure to call the base class's OnPropertyChanging method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DataSet Class | DataSet Members | System.Data Namespace

Show: