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
A_1
Type: Microsoft.VisualStudio.CommandBars._CommandBarButtonEvents_ClickEventHandlerThe click event handler.
Implements
_CommandBarButtonEvents_Event.add_Click(_CommandBarButtonEvents_ClickEventHandler)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.