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
[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
[<GuidAttribute("A79FC678-0D0A-496A-B9DC-0D5B9E1CA9FC")>]
type CommandEvents =
interface
interface _CommandEvents
interface _dispCommandEvents_Event
end
public interface CommandEvents extends _CommandEvents, _dispCommandEvents_Event
The CommandEvents type exposes the following members.
Methods
Name | Description | |
---|---|---|
add_AfterExecute | Infrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.) | |
add_BeforeExecute | Infrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.) | |
remove_AfterExecute | Infrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.) | |
remove_BeforeExecute | Infrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.) |
Top
Events
Name | Description | |
---|---|---|
AfterExecute | Infrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.) | |
BeforeExecute | Infrastructure. Microsoft Internal Use Only. (Inherited from _dispCommandEvents_Event.) |
Top
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