Share via


CommandEvents Interface

Definition

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

C++/CX
public interface class CommandEvents : EnvDTE::_CommandEvents, EnvDTE::_dispCommandEvents_Event
Derived
Attributes
Implements

Examples

VB
<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

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

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022