SelectionEventsClass::OnChange Event
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Occurs after the selection model changes.
Assembly: EnvDTE (in EnvDTE.dll)
public: event _dispSelectionEvents_OnChangeEventHandler^ OnChange { virtual void add(_dispSelectionEvents_OnChangeEventHandler^ value); virtual void remove(_dispSelectionEvents_OnChangeEventHandler^ value); }
Implements
_dispSelectionEvents_Event::OnChangeWhenever 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: