_CommandBarButtonEvents.Click Method
Infrastructure. Microsoft Internal Use Only.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣言
Sub Click ( _
Ctrl As CommandBarButton, _
<OutAttribute> ByRef CancelDefault As Boolean _
)
void Click(
CommandBarButton Ctrl,
out bool CancelDefault
)
Parameters
- Ctrl
Type: Microsoft.VisualStudio.CommandBars.CommandBarButton
The control that was clicked.
- CancelDefault
Type: System.Boolean%
[out] true if the action is to be canceled, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.