ToolWindowPane.OnInfoBarClosed(IVsInfoBarUIElement, IVsInfoBar) Метод

Определение

Вызывается, когда закрывается информационная панель, добавленная через Аддинфобар. Если этот метод переопределен, для вызова события Инфобарклосед необходимо вызвать базовую реализацию.

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)

Параметры

infoBarUI
IVsInfoBarUIElement

Элемент пользовательского интерфейса для закрытой информационной панели.

infoBar
IVsInfoBar

Модель информационной панели для закрытой информационной панели. Может иметь значение null, если элемент пользовательского интерфейса панели информации был добавлен без известной модели.

Применяется к