Condividi tramite


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

'Dichiarazione
Public Overridable Event Click As _CommandBarButtonEvents_ClickEventHandler
'Utilizzo
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

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace