ICommandBarButtonEvents.Click Method

Handles the Click event.

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

Syntax

'Declaração
Sub Click ( _
    Ctrl As CommandBarButton, _
    <OutAttribute> ByRef CancelDefault As Boolean _
)
void Click(
    CommandBarButton Ctrl,
    out bool CancelDefault
)

Parameters

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

.NET Framework Security

See Also

Reference

ICommandBarButtonEvents Interface

Microsoft.VisualStudio.CommandBars Namespace