共用方式為


ToolWindowPane.AddInfoBar Method

Definition

Overloads

AddInfoBar(IVsInfoBar)

Adds an info bar to this ToolWindowPane. The info bar will show at the top of the pane's frame when that frame is visible on screen.

AddInfoBar(IVsUIElement)

Adds an info bar to this ToolWindowPane. The info bar will show at the top of the pane's frame when that frame is visible on screen.

AddInfoBar(IVsInfoBar)

Adds an info bar to this ToolWindowPane. The info bar will show at the top of the pane's frame when that frame is visible on screen.

public:
 void AddInfoBar(Microsoft::VisualStudio::Shell::Interop::IVsInfoBar ^ infoBar);
public:
 void AddInfoBar(Microsoft::VisualStudio::Shell::Interop::IVsInfoBar ^ infoBar);
void AddInfoBar(Microsoft::VisualStudio::Shell::Interop::IVsInfoBar const & infoBar);
public void AddInfoBar (Microsoft.VisualStudio.Shell.Interop.IVsInfoBar infoBar);
member this.AddInfoBar : Microsoft.VisualStudio.Shell.Interop.IVsInfoBar -> unit
Public Sub AddInfoBar (infoBar As IVsInfoBar)

Parameters

infoBar
IVsInfoBar

The info bar to add to the pane.

Applies to

AddInfoBar(IVsUIElement)

Adds an info bar to this ToolWindowPane. The info bar will show at the top of the pane's frame when that frame is visible on screen.

public:
 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);
member this.AddInfoBar : Microsoft.VisualStudio.Shell.Interop.IVsUIElement -> unit
Public Sub AddInfoBar (uiElement As IVsUIElement)

Parameters

uiElement
IVsUIElement

The UI element representing the info bar.

Applies to