This documentation is archived and is not being maintained.

CommandEvents Object

Visual Studio .NET 2003

Provides command events for automation clients.

DTE

   Events

      CommandEvents

[Visual Basic .NET]
Public Class CommandEvents
[Visual Basic 6]
Class CommandEvents
[C++]
class CommandEvents
[C#]
public class CommandEvents
[JScript .NET]
public class CommandEvents

Remarks

The CommandEvents object is returned by the CommandEvents Property of the Events Object.

Requirements

Namespace: EnvDTE

File: dte.olb

Example

<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

Properties, Methods, and Events | CommandEvents Property

Show: