Partager via


InfoBarTextSpan(String, Boolean, Boolean, Boolean) Constructor

Definition

Creates a new text span with optional formatting options.

 InfoBarTextSpan(std::wstring const & text, bool bold = false, bool italic = false, bool underline = false);
public InfoBarTextSpan (string text, bool bold = false, bool italic = false, bool underline = false);
new Microsoft.VisualStudio.Shell.InfoBarTextSpan : string * bool * bool * bool -> Microsoft.VisualStudio.Shell.InfoBarTextSpan
Public Sub New (text As String, Optional bold As Boolean = false, Optional italic As Boolean = false, Optional underline As Boolean = false)

Parameters

text
String

The text for the span.

bold
Boolean

Whether or not the span should be bolded.

italic
Boolean

Whether or not the span should be italicized.

underline
Boolean

Whether or not the span should be underlined.

Applies to