共用方式為


InfoBarTextSpan Class

Definition

Represents a span of text inside an InfoBarModel.

public ref class InfoBarTextSpan : Microsoft::VisualStudio::Shell::Interop::IVsInfoBarTextSpan
[Windows::Foundation::Metadata::WebHostHidden]
class InfoBarTextSpan : Microsoft::VisualStudio::Shell::Interop::IVsInfoBarTextSpan
public class InfoBarTextSpan : Microsoft.VisualStudio.Shell.Interop.IVsInfoBarTextSpan
type InfoBarTextSpan = class
    interface IVsInfoBarTextSpan
Public Class InfoBarTextSpan
Implements IVsInfoBarTextSpan
Inheritance
InfoBarTextSpan
Derived
Implements

Constructors

InfoBarTextSpan(String, Boolean, Boolean, Boolean)

Creates a new text span with optional formatting options.

Properties

Bold

Gets whether or not the span of text should be bolded.

Italic

Gets whether or not the span of text should be italicized.

Text

Gets the text for the span.

Underline

Gets whether or not the span of text should be underlined.

Applies to