共用方式為


CommandEventsClass Class

Definition

Microsoft Internal Use Only.

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

public ref class CommandEventsClass : EnvDTE::CommandEvents
public ref class CommandEventsClass
[Windows::Foundation::Metadata::WebHostHidden]
class CommandEventsClass : EnvDTE::CommandEvents
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispCommandEvents\0")]
[System.Runtime.InteropServices.Guid("1DED92B5-9A46-4B29-93EF-B5E07016659E")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class CommandEventsClass : EnvDTE.CommandEvents
[System.Runtime.InteropServices.Guid("1DED92B5-9A46-4B29-93EF-B5E07016659E")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispCommandEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class CommandEventsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispCommandEvents\0")>]
[<System.Runtime.InteropServices.Guid("1DED92B5-9A46-4B29-93EF-B5E07016659E")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type CommandEventsClass = class
    interface _CommandEvents
    interface CommandEvents
    interface _dispCommandEvents_Event
[<System.Runtime.InteropServices.Guid("1DED92B5-9A46-4B29-93EF-B5E07016659E")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispCommandEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type CommandEventsClass = class
Public Class CommandEventsClass
Implements CommandEvents
Public Class CommandEventsClass
Inheritance
CommandEventsClass
Attributes
Implements

Remarks

Refer to CommandEvents for this functionality. Do not instantiate from this class.

Constructors

CommandEventsClass()

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

Microsoft Internal Use Only.

Methods

add_AfterExecute(_dispCommandEvents_AfterExecuteEventHandler)
add_BeforeExecute(_dispCommandEvents_BeforeExecuteEventHandler)
remove_AfterExecute(_dispCommandEvents_AfterExecuteEventHandler)
remove_BeforeExecute(_dispCommandEvents_BeforeExecuteEventHandler)

Events

AfterExecute

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

Occurs after a command executes.

BeforeExecute

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

Occurs before a command executes.

Applies to