Compartilhar via


Interface SelectionEvents

Fornece eventos de alterações em uma seleção.Usar esse objeto para a funcionalidade e consulte SelectionEventsClass para obter a documentação deste objeto.

Namespace:  EnvDTE
Assembly:  EnvDTE (em EnvDTE.dll)

Sintaxe

'Declaração
<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

O tipo SelectionEvents expõe os membros a seguir.

Métodos

  Nome Descrição
Método público add_OnChange Infraestrutura. Somente para uso interno da Microsoft. (Herdado de _dispSelectionEvents_Event.)
Método público remove_OnChange Infraestrutura. Somente para uso interno da Microsoft. (Herdado de _dispSelectionEvents_Event.)

Superior

Eventos

  Nome Descrição
Evento público OnChange Infraestrutura. Somente para uso interno da Microsoft. (Herdado de _dispSelectionEvents_Event.)

Superior

Exemplos

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

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

Consulte também

Referência

Namespace EnvDTE