CommandBarButtonClass.Click Event
Raises this event when the control is clicked.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
‘선언
Public Overridable Event Click As _CommandBarButtonEvents_ClickEventHandler
‘사용 방법
Dim instance As CommandBarButtonClass
Dim handler As _CommandBarButtonEvents_ClickEventHandler
AddHandler instance.Click, handler
public virtual event _CommandBarButtonEvents_ClickEventHandler Click
public:
virtual event _CommandBarButtonEvents_ClickEventHandler^ Click {
void add (_CommandBarButtonEvents_ClickEventHandler^ value);
void remove (_CommandBarButtonEvents_ClickEventHandler^ value);
}
abstract Click : IEvent<_CommandBarButtonEvents_ClickEventHandler,
EventArgs>
override Click : IEvent<_CommandBarButtonEvents_ClickEventHandler,
EventArgs>
JScript does not support events.
Implements
_CommandBarButtonEvents_Event.Click
.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.