Aracılığıyla paylaş


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
'Usage
Dim instance As SelectionEvents
[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
public interface SelectionEvents extends _SelectionEvents, _dispSelectionEvents_Event

Examples

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

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

See Also

Reference

SelectionEvents Members

EnvDTE Namespace