Share via


CommandEvents Interface

Provides command events for automation clients. Use this object for functionality, and refer to CommandEventsClass for this object's documentation.

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

Syntax

'Declaration
<GuidAttribute("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")> _
Public Interface CommandEvents _
    Inherits _CommandEvents, _dispCommandEvents_Event
'Usage
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

Examples

<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

See Also

Reference

CommandEvents Members

EnvDTE Namespace