CommandBarEventsClass.Click Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the OnAction
property for the corresponding CommandBarControl
object is set or returned.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual event EnvDTE::_dispCommandBarControlEvents_ClickEventHandler ^ Click;
public virtual event EnvDTE._dispCommandBarControlEvents_ClickEventHandler Click;
member this.Click : EnvDTE._dispCommandBarControlEvents_ClickEventHandler
Public Overridable Custom Event Click As _dispCommandBarControlEvents_ClickEventHandler Implements Click
Event Type
Implements
Examples
Public Sub CommandBarEvents_Click(ByVal CommandBarControl As Object, ByRef handled As Boolean, ByRef CancelDefault As Boolean) Handles CommandBarEvents.Click
MsgBox("test")
End Sub
Remarks
Use CommandBarEvents.Click
.