Condividi tramite


Interfaccia CommandEvents

Aggiornamento: novembre 2007

Fornisce eventi di comando per client di automazione. Utilizzare questo oggetto per la funzionalità e fare riferimento a CommandEventsClass per la documentazione dell'oggetto.

Spazio dei nomi:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Sintassi

<GuidAttribute("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")> _
Public Interface CommandEvents _
    Implements _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

Esempi

<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

Vedere anche

Riferimenti

Membri CommandEvents

Spazio dei nomi EnvDTE