Compartir a través de


CommandBarButtonClass.add_Click Method

Adds the click event handler.

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

Syntax

'Declaration
Public Overridable Sub add_Click ( _
    A_1 As _CommandBarButtonEvents_ClickEventHandler _
)
public virtual void add_Click(
    _CommandBarButtonEvents_ClickEventHandler A_1
)
public:
virtual void add_Click(
    _CommandBarButtonEvents_ClickEventHandler^ A_1
)
abstract add_Click : 
        A_1:_CommandBarButtonEvents_ClickEventHandler -> unit  
override add_Click : 
        A_1:_CommandBarButtonEvents_ClickEventHandler -> unit
public function add_Click(
    A_1 : _CommandBarButtonEvents_ClickEventHandler
)

Parameters

Implements

_CommandBarButtonEvents_Event.add_Click(_CommandBarButtonEvents_ClickEventHandler)

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace