Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

SelectionEvents Interface

Provides events for changes to a selection. Use this object for functionality, and refer to SelectionEventsClass for this object's documentation.

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

[GuidAttribute("EB6783DB-1819-496D-84A4-3CFF883010F6")] 
public interface SelectionEvents : _SelectionEvents, _dispSelectionEvents_Event
/** @attribute GuidAttribute("EB6783DB-1819-496D-84A4-3CFF883010F6") */ 
public interface SelectionEvents extends _SelectionEvents, _dispSelectionEvents_Event
GuidAttribute("EB6783DB-1819-496D-84A4-3CFF883010F6") 
public interface SelectionEvents extends _SelectionEvents, _dispSelectionEvents_Event

<System.ContextStaticAttribute()> Public WithEvents SelectionEvents As EnvDTE.SelectionEvents

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

Community Additions

ADD
Show:
© 2015 Microsoft