ToolWindowPane::OnInfoBarActionItemClicked Method (IVsInfoBarUIElement^, IVsInfoBar^, IVsInfoBarActionItem^)

Visual Studio 2015
 

Called when an action item on an info bar added via AddInfoBar is clicked. If this method is overridden, the base implementation must be called to raise the InfoBarActionItemClicked event.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

protected:
virtual void OnInfoBarActionItemClicked(
	IVsInfoBarUIElement^ infoBarUI,
	IVsInfoBar^ infoBar,
	IVsInfoBarActionItem^ actionItem
)

Parameters

infoBarUI
Type: Microsoft.VisualStudio.Shell.Interop::IVsInfoBarUIElement^

The UI element for the info bar that was clicked.

infoBar
Type: Microsoft.VisualStudio.Shell.Interop::IVsInfoBar^

The info bar model for the info bar that was clicked.

actionItem
Type: Microsoft.VisualStudio.Shell.Interop::IVsInfoBarActionItem^

The action item that was clicked on the info bar.

Return to top
Show: