Freigeben über


CommandEvents Interface

Definition

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

public interface class CommandEvents : EnvDTE::_CommandEvents, EnvDTE::_dispCommandEvents_Event
public interface class CommandEvents : EnvDTE::_dispCommandEvents_Event
public interface class CommandEvents : EnvDTE::_CommandEvents, EnvDTE::_dispCommandEvents_Event
__interface CommandEvents : EnvDTE::_CommandEvents, EnvDTE::_dispCommandEvents_Event
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.CommandEventsClass))]
[System.Runtime.InteropServices.Guid("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")]
public interface CommandEvents : EnvDTE._CommandEvents, EnvDTE._dispCommandEvents_Event
[System.Runtime.InteropServices.CoClass(typeof(EnvDTE.CommandEventsClass))]
[System.Runtime.InteropServices.Guid("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface CommandEvents : EnvDTE._dispCommandEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.CommandEventsClass))>]
[<System.Runtime.InteropServices.Guid("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")>]
type CommandEvents = interface
    interface _CommandEvents
    interface _dispCommandEvents_Event
[<System.Runtime.InteropServices.CoClass(typeof(EnvDTE.CommandEventsClass))>]
[<System.Runtime.InteropServices.Guid("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type CommandEvents = interface
    interface _dispCommandEvents_Event
Public Interface CommandEvents
Implements _CommandEvents, _dispCommandEvents_Event
Public Interface CommandEvents
Implements _dispCommandEvents_Event
Derived
Attributes
Implements

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  

Methods

add_AfterExecute(_dispCommandEvents_AfterExecuteEventHandler) (Inherited from _dispCommandEvents_Event)
add_BeforeExecute(_dispCommandEvents_BeforeExecuteEventHandler) (Inherited from _dispCommandEvents_Event)
remove_AfterExecute(_dispCommandEvents_AfterExecuteEventHandler) (Inherited from _dispCommandEvents_Event)
remove_BeforeExecute(_dispCommandEvents_BeforeExecuteEventHandler) (Inherited from _dispCommandEvents_Event)

Events

AfterExecute

This API supports the product infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

(Inherited from _dispCommandEvents_Event)
BeforeExecute

This API supports the product infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

(Inherited from _dispCommandEvents_Event)

Applies to