共用方式為


IVsInfoBar Interface

Definition

Represents the data needed to construct an IVsUIElement representing an info bar. Info bars can have an icon, a set of spans of text, and an optional close button.

public interface class IVsInfoBar
public interface class IVsInfoBar
__interface IVsInfoBar
public interface IVsInfoBar
[System.Runtime.InteropServices.Guid("B8257FE8-9FF5-4F59-A613-02405B32A82A")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsInfoBar
type IVsInfoBar = interface
[<System.Runtime.InteropServices.Guid("B8257FE8-9FF5-4F59-A613-02405B32A82A")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsInfoBar = interface
Public Interface IVsInfoBar
Derived
Attributes

Properties

ActionItems

Gets the collection of action items displayed in the info bar.

Image
IsCloseButtonVisible

Determines whether or not the InfoBar supports closing.

TextSpans

Gets the collection of text spans displayed in the info bar. Any IVsInfoBarActionItem spans in this collection will be rendered as a hyperlink.

Applies to