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)

Syntax

'Declaration
<GuidAttribute("EB6783DB-1819-496D-84A4-3CFF883010F6")> _
Public Interface SelectionEvents _
    Inherits _SelectionEvents, _dispSelectionEvents_Event
[GuidAttribute("EB6783DB-1819-496D-84A4-3CFF883010F6")]
public interface SelectionEvents : _SelectionEvents, 
    _dispSelectionEvents_Event
[GuidAttribute(L"EB6783DB-1819-496D-84A4-3CFF883010F6")]
public interface class SelectionEvents : _SelectionEvents, 
    _dispSelectionEvents_Event
[<GuidAttribute("EB6783DB-1819-496D-84A4-3CFF883010F6")>]
type SelectionEvents =  
    interface 
        interface _SelectionEvents 
        interface _dispSelectionEvents_Event 
    end
public interface SelectionEvents extends _SelectionEvents, _dispSelectionEvents_Event

The SelectionEvents type exposes the following members.

Methods

  Name Description
Public method add_OnChange Infrastructure. Microsoft Internal Use Only. (Inherited from _dispSelectionEvents_Event.)
Public method remove_OnChange Infrastructure. Microsoft Internal Use Only. (Inherited from _dispSelectionEvents_Event.)

Top

Events

  Name Description
Public event OnChange Infrastructure. Microsoft Internal Use Only. (Inherited from _dispSelectionEvents_Event.)

Top

Examples

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

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

See Also

Reference

EnvDTE Namespace