ToolWindowPane::OnInfoBarClosed Method (IVsInfoBarUIElement^, IVsInfoBar^)

Visual Studio 2015
 

Called when an info bar added via AddInfoBar is closed. If this method is overridden,the base implementation must be called to raise the InfoBarClosed event.

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

protected:
virtual void OnInfoBarClosed(
	IVsInfoBarUIElement^ infoBarUI,
	IVsInfoBar^ infoBar
)

Parameters

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

The UI element for the info bar that was closed.

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

The info bar model for the info bar that was closed. May be null if an info bar UI element was added without having a known model.

Return to top
Show: