Share via


_CommandBarButtonEvents.Click Method

Infrastructure. Microsoft Internal Use Only.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaration
Sub Click ( _
    Ctrl As CommandBarButton, _
    <OutAttribute> ByRef CancelDefault As Boolean _
)
void Click(
    CommandBarButton Ctrl,
    out bool CancelDefault
)
void Click(
    [InAttribute] CommandBarButton^ Ctrl, 
    [InAttribute] [OutAttribute] bool% CancelDefault
)
abstract Click : 
        Ctrl:CommandBarButton * 
        CancelDefault:bool byref -> unit 
function Click(
    Ctrl : CommandBarButton, 
    CancelDefault : boolean
)

Parameters

  • CancelDefault
    Type: System.Boolean%
    [out] true if the action is to be canceled, otherwise false.

.NET Framework Security

See Also

Reference

_CommandBarButtonEvents Interface

Microsoft.VisualStudio.CommandBars Namespace