Compartilhar via


Interface CommandEvents

Fornece eventos de comando para clientes de automação.Usar esse objeto para a funcionalidade e consulte CommandEventsClass para documentação deste objeto.

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

Sintaxe

<GuidAttribute("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")> _
Public Interface CommandEvents _
    Inherits _CommandEvents, _dispCommandEvents_Event

Dim instance As CommandEvents
[GuidAttribute("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")]
public interface CommandEvents : _CommandEvents, 
    _dispCommandEvents_Event
[GuidAttribute(L"A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")]
public interface class CommandEvents : _CommandEvents, 
    _dispCommandEvents_Event
public interface CommandEvents extends _CommandEvents, _dispCommandEvents_Event

Exemplos

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

Public Sub CommandEvents_AfterExecute(ByVal Guid As String, ByVal ID As Integer, ByVal CustomIn As Object, ByVal CustomOut As Object) Handles CommandEvents.AfterExecute
   MsgBox("test")
End Sub

Consulte também

Referência

CommandEvents Membros

Espaço para nome EnvDTE