ToolWindowPane.OnInfoBarClosed(IVsInfoBarUIElement, IVsInfoBar) Method
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.
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.