Partilhar via


CommandBarEventsClass 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 CommandBarEventsClass : EnvDTE::CommandBarEvents
public ref class CommandBarEventsClass
[Windows::Foundation::Metadata::WebHostHidden]
class CommandBarEventsClass : EnvDTE::CommandBarEvents
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispCommandBarControlEvents\0")]
[System.Runtime.InteropServices.Guid("BFD4B2B2-9EEC-4DB8-ABA0-AC316F4C7328")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class CommandBarEventsClass : EnvDTE.CommandBarEvents
[System.Runtime.InteropServices.Guid("BFD4B2B2-9EEC-4DB8-ABA0-AC316F4C7328")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispCommandBarControlEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class CommandBarEventsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispCommandBarControlEvents\0")>]
[<System.Runtime.InteropServices.Guid("BFD4B2B2-9EEC-4DB8-ABA0-AC316F4C7328")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type CommandBarEventsClass = class
    interface _CommandBarControlEvents
    interface CommandBarEvents
    interface _dispCommandBarControlEvents_Event
[<System.Runtime.InteropServices.Guid("BFD4B2B2-9EEC-4DB8-ABA0-AC316F4C7328")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE._dispCommandBarControlEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type CommandBarEventsClass = class
Public Class CommandBarEventsClass
Implements CommandBarEvents
Public Class CommandBarEventsClass
Inheritance
CommandBarEventsClass
Attributes
Implements

Remarks

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

Constructors

CommandBarEventsClass()

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

Microsoft Internal Use Only.

Methods

add_Click(_dispCommandBarControlEvents_ClickEventHandler)
remove_Click(_dispCommandBarControlEvents_ClickEventHandler)

Events

Click

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

Occurs when the OnAction property for the corresponding CommandBarControl object is set or returned.

Applies to