Compartir a través de


SelectionEvents Interface

Definition

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

public interface class SelectionEvents : EnvDTE::_dispSelectionEvents_Event, EnvDTE::_SelectionEvents
public interface class SelectionEvents : EnvDTE::_dispSelectionEvents_Event
public interface class SelectionEvents : EnvDTE::_dispSelectionEvents_Event, EnvDTE::_SelectionEvents
__interface SelectionEvents : EnvDTE::_dispSelectionEvents_Event, EnvDTE::_SelectionEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.SelectionEventsClass))]
[System.Runtime.InteropServices.Guid("EB6783DB-1819-496D-84A4-3CFF883010F6")]
public interface SelectionEvents : EnvDTE._dispSelectionEvents_Event, EnvDTE._SelectionEvents
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.SelectionEventsClass))]
[System.Runtime.InteropServices.Guid("EB6783DB-1819-496D-84A4-3CFF883010F6")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface SelectionEvents : EnvDTE._dispSelectionEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.SelectionEventsClass))>]
[<System.Runtime.InteropServices.Guid("EB6783DB-1819-496D-84A4-3CFF883010F6")>]
type SelectionEvents = interface
    interface _SelectionEvents
    interface _dispSelectionEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.SelectionEventsClass))>]
[<System.Runtime.InteropServices.Guid("EB6783DB-1819-496D-84A4-3CFF883010F6")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type SelectionEvents = interface
    interface _dispSelectionEvents_Event
Public Interface SelectionEvents
Implements _dispSelectionEvents_Event, _SelectionEvents
Public Interface SelectionEvents
Implements _dispSelectionEvents_Event
Derived
Attributes
Implements

Examples

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

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

Methods

add_OnChange(_dispSelectionEvents_OnChangeEventHandler) (Inherited from _dispSelectionEvents_Event)
remove_OnChange(_dispSelectionEvents_OnChangeEventHandler) (Inherited from _dispSelectionEvents_Event)

Events

OnChange

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

Microsoft Internal Use Only.

(Inherited from _dispSelectionEvents_Event)

Applies to