SelectionEventsClass.OnChange Event
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.
Occurs after the selection model changes.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual event EnvDTE::_dispSelectionEvents_OnChangeEventHandler ^ OnChange;
public:
virtual event EnvDTE::_dispSelectionEvents_OnChangeEventHandler ^ OnChange;
public virtual event EnvDTE._dispSelectionEvents_OnChangeEventHandler OnChange;
member this.OnChange : EnvDTE._dispSelectionEvents_OnChangeEventHandler
Public Overridable Custom Event OnChange As _dispSelectionEvents_OnChangeEventHandler Implements OnChange
Event Type
Implements
Examples
Public Sub SelectionEvents_OnChange() Handles SelectionEvents.OnChange
MsgBox("test")
End Sub
Remarks
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 OnChange event to occur.