InfoBarHostControl.RemoveInfoBar(IVsUIElement) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从此信息栏主机中删除信息栏 UI 元素。
public:
virtual void RemoveInfoBar(Microsoft::VisualStudio::Shell::Interop::IVsUIElement ^ uiElement);
public:
void RemoveInfoBar(Microsoft::VisualStudio::Shell::Interop::IVsUIElement ^ uiElement);
void RemoveInfoBar(Microsoft::VisualStudio::Shell::Interop::IVsUIElement const & uiElement);
public void RemoveInfoBar (Microsoft.VisualStudio.Shell.Interop.IVsUIElement uiElement);
abstract member RemoveInfoBar : Microsoft.VisualStudio.Shell.Interop.IVsUIElement -> unit
override this.RemoveInfoBar : Microsoft.VisualStudio.Shell.Interop.IVsUIElement -> unit
Public Sub RemoveInfoBar (uiElement As IVsUIElement)
参数
- uiElement
- IVsUIElement
一个信息栏 UI 元素。
实现
RemoveInfoBar(IVsUIElement)
Microsoft.Internal.VisualStudio.Shell.Interop.IVsInfoBarHostPrivate.RemoveInfoBar(Microsoft.VisualStudio.Shell.Interop.IVsUIElement)