Export (0) Print
Expand All

SelectionEventsClass.OnChange Event

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Occurs after the selection model changes.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

public virtual event _dispSelectionEvents_OnChangeEventHandler OnChange

Implements

_dispSelectionEvents_Event.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 OnChange event to occur.

Public Sub SelectionEvents_OnChange() Handles SelectionEvents.OnChange
   MsgBox("test")
End Sub

Show:
© 2015 Microsoft