共用方式為


ToolWindowPane.RemoveInfoBar Method

Definition

Overloads

RemoveInfoBar(IVsInfoBar)

Removes an info bar from this ToolWindowPane.

RemoveInfoBar(IVsUIElement)

Removes and info bar from this ToolWindowPane.

RemoveInfoBar(IVsInfoBar)

Removes an info bar from this ToolWindowPane.

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

Parameters

infoBar
IVsInfoBar

The info bar to remove from the pane. This info bar must have been added using AddInfoBar.

Applies to

RemoveInfoBar(IVsUIElement)

Removes and info bar from this ToolWindowPane.

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

Parameters

uiElement
IVsUIElement

The info bar UI element to remove from the pane.

Applies to