Share via


ToolWindowPane.OnInfoBarClosed(IVsInfoBarUIElement, IVsInfoBar) Method

Definition

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.

protected:
 virtual void OnInfoBarClosed(Microsoft::VisualStudio::Shell::Interop::IVsInfoBarUIElement ^ infoBarUI, Microsoft::VisualStudio::Shell::Interop::IVsInfoBar ^ infoBar);
protected:
 virtual void OnInfoBarClosed(Microsoft::VisualStudio::Shell::Interop::IVsInfoBarUIElement ^ infoBarUI, Microsoft::VisualStudio::Shell::Interop::IVsInfoBar ^ infoBar);
 virtual void OnInfoBarClosed(Microsoft::VisualStudio::Shell::Interop::IVsInfoBarUIElement const & infoBarUI, Microsoft::VisualStudio::Shell::Interop::IVsInfoBar const & infoBar);
protected virtual void OnInfoBarClosed (Microsoft.VisualStudio.Shell.Interop.IVsInfoBarUIElement infoBarUI, Microsoft.VisualStudio.Shell.Interop.IVsInfoBar infoBar);
abstract member OnInfoBarClosed : Microsoft.VisualStudio.Shell.Interop.IVsInfoBarUIElement * Microsoft.VisualStudio.Shell.Interop.IVsInfoBar -> unit
override this.OnInfoBarClosed : Microsoft.VisualStudio.Shell.Interop.IVsInfoBarUIElement * Microsoft.VisualStudio.Shell.Interop.IVsInfoBar -> unit
Protected Overridable Sub OnInfoBarClosed (infoBarUI As IVsInfoBarUIElement, infoBar As IVsInfoBar)

Parameters

infoBarUI
IVsInfoBarUIElement

The UI element for the info bar that was closed.

infoBar
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.

Applies to