Share via


_CommandBarButtonEvents.Click(CommandBarButton, Boolean) Method

Definition

Infrastructure. Microsoft Internal Use Only.

public:
 void Click(Microsoft::VisualStudio::CommandBars::CommandBarButton ^ Ctrl, [Runtime::InteropServices::Out] bool % CancelDefault);
void Click(Microsoft::VisualStudio::CommandBars::CommandBarButton const & Ctrl, [Runtime::InteropServices::Out] bool & CancelDefault);
[System.Runtime.InteropServices.DispId(1)]
public void Click (Microsoft.VisualStudio.CommandBars.CommandBarButton Ctrl, out bool CancelDefault);
[<System.Runtime.InteropServices.DispId(1)>]
abstract member Click : Microsoft.VisualStudio.CommandBars.CommandBarButton * bool -> unit
Public Sub Click (Ctrl As CommandBarButton, ByRef CancelDefault As Boolean)

Parameters

Ctrl
CommandBarButton

The control that was clicked.

CancelDefault
Boolean

[out] true if the action is to be canceled, otherwise false.

Attributes

Applies to