共用方式為


IVsInfoBar.TextSpans Property

Definition

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

public:
 property Microsoft::VisualStudio::Shell::Interop::IVsInfoBarTextSpanCollection ^ TextSpans { Microsoft::VisualStudio::Shell::Interop::IVsInfoBarTextSpanCollection ^ get(); };
public:
 property Microsoft::VisualStudio::Shell::Interop::IVsInfoBarTextSpanCollection ^ TextSpans { Microsoft::VisualStudio::Shell::Interop::IVsInfoBarTextSpanCollection ^ get(); };
public Microsoft.VisualStudio.Shell.Interop.IVsInfoBarTextSpanCollection TextSpans { get; }
[System.Runtime.InteropServices.DispId(1610678274)]
public Microsoft.VisualStudio.Shell.Interop.IVsInfoBarTextSpanCollection TextSpans { get; }
member this.TextSpans : Microsoft.VisualStudio.Shell.Interop.IVsInfoBarTextSpanCollection
[<System.Runtime.InteropServices.DispId(1610678274)>]
member this.TextSpans : Microsoft.VisualStudio.Shell.Interop.IVsInfoBarTextSpanCollection
Public ReadOnly Property TextSpans As IVsInfoBarTextSpanCollection

Property Value

The collection of text spans displayed in the info bar.

Attributes

Applies to