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