_CommandBarButtonEvents.Click Method
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Sub Click ( _
Ctrl As CommandBarButton, _
<OutAttribute> ByRef CancelDefault As Boolean _
)
'Usage
Dim instance As _CommandBarButtonEvents
Dim Ctrl As CommandBarButton
Dim CancelDefault As Boolean
instance.Click(Ctrl, CancelDefault)
void Click(
CommandBarButton Ctrl,
out bool CancelDefault
)
Parameters
- Ctrl
Type: Microsoft.Office.Core.CommandBarButton
- CancelDefault
Type: System.Boolean
See Also
Reference
_CommandBarButtonEvents Interface