This documentation is archived and is not being maintained.

OnChange Event

Visual Studio .NET 2003

Occurs after the selection model changes.

[Visual Basic .NET]
Public Sub OnChange() 
[Visual Basic 6]
Sub OnChange() 
HRESULT __stdcall OnChange();
public void OnChange();
[JScript .NET]
public function OnChange()


Whenever something is selected in the development environment, a model of what the user has selected is created. A change in this model causes the OnChanged event to occur.


Public Sub SelectionEvents_OnChange() Handles SelectionEvents.OnChange
End Sub

See Also

Applies To: SelectionEvents Object