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)

[GuidAttribute("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")]
public interface CommandEvents : _CommandEvents, 
	_dispCommandEvents_Event

The CommandEvents type exposes the following members.

  NameDescription
Public methodadd_AfterExecuteInfrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.)
Public methodadd_BeforeExecuteInfrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.)
Public methodremove_AfterExecuteInfrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.)
Public methodremove_BeforeExecuteInfrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.)
Top

  NameDescription
Public eventAfterExecuteInfrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.)
Public eventBeforeExecuteInfrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.)
Top

<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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft