Delen via


CommandEventsClass.AfterExecute Event

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

Occurs after a command executes.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Public Overridable Event AfterExecute As _dispCommandEvents_AfterExecuteEventHandler
public virtual event _dispCommandEvents_AfterExecuteEventHandler AfterExecute
public:
virtual   event _dispCommandEvents_AfterExecuteEventHandler^ AfterExecute {
    void add (_dispCommandEvents_AfterExecuteEventHandler^ value);
    void remove (_dispCommandEvents_AfterExecuteEventHandler^ value);
}
abstract AfterExecute : IEvent<_dispCommandEvents_AfterExecuteEventHandler,
    EventArgs>
override AfterExecute : IEvent<_dispCommandEvents_AfterExecuteEventHandler,
    EventArgs>
JScript does not support events.

Implements

_dispCommandEvents_Event.AfterExecute

Remarks

Use CommandEvents.AfterExecute.

Examples

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

.NET Framework Security

See Also

Reference

CommandEventsClass Class

EnvDTE Namespace