Partager via


_CommandBarButtonEvents_ClickEventHandler Delegate

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Syntax

'Déclaration
<ComVisibleAttribute(False)> _
Public Delegate Sub _CommandBarButtonEvents_ClickEventHandler ( _
    Ctrl As CommandBarButton, _
    <OutAttribute> ByRef CancelDefault As Boolean _
)
'Utilisation
Dim instance As New _CommandBarButtonEvents_ClickEventHandler(AddressOf HandlerMethod)
[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

See Also

Reference

Microsoft.VisualStudio.CommandBars Namespace