_CommandBarButtonEvents_Event.add_Click Method
Adds the click event handler.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaration
Sub add_Click ( _
A_1 As _CommandBarButtonEvents_ClickEventHandler _
)
void add_Click(
_CommandBarButtonEvents_ClickEventHandler A_1
)
void add_Click(
_CommandBarButtonEvents_ClickEventHandler^ A_1
)
abstract add_Click :
A_1:_CommandBarButtonEvents_ClickEventHandler -> unit
function add_Click(
A_1 : _CommandBarButtonEvents_ClickEventHandler
)
Parameters
A_1
Type: Microsoft.VisualStudio.CommandBars._CommandBarButtonEvents_ClickEventHandlerThe click event handler.
.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.