Partager via


_CommandBarButtonEvents_ClickEventHandler Delegate

Infrastructure. Microsoft Internal Use Only.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub _CommandBarButtonEvents_ClickEventHandler ( _
    Ctrl As CommandBarButton, _
    <OutAttribute> ByRef CancelDefault As Boolean _
)
[ComVisibleAttribute(false)]
public delegate void _CommandBarButtonEvents_ClickEventHandler(
    CommandBarButton Ctrl,
    out bool CancelDefault
)
[ComVisibleAttribute(false)]
public delegate void _CommandBarButtonEvents_ClickEventHandler(
    [InAttribute] CommandBarButton^ Ctrl, 
    [InAttribute] [OutAttribute] bool% CancelDefault
)
[<ComVisibleAttribute(false)>]
type _CommandBarButtonEvents_ClickEventHandler = 
    delegate of  
        Ctrl:CommandBarButton * 
        CancelDefault:bool byref -> unit
JScript does not support delegates.

Parameters

  • CancelDefault
    Type: Boolean%

    Microsoft Internal Use Only.

See Also

Reference

Microsoft.VisualStudio.CommandBars Namespace