_CommandBarButtonEvents.Click(CommandBarButton, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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