Partager via


DescriptionRun Constructors

Definition

Overloads

DescriptionRun(String)

Creates a new DescriptionRun.

DescriptionRun(String, Boolean)

Creates a new DescriptionRun.

DescriptionRun(String, Color)

Creates a new DescriptionRun.

DescriptionRun(String, Color, Boolean, Boolean, Boolean)

Creates a new DescriptionRun.

DescriptionRun(String)

Creates a new DescriptionRun.

public:
 DescriptionRun(System::String ^ text);
public:
 DescriptionRun(Platform::String ^ text);
 DescriptionRun(std::wstring const & text);
public DescriptionRun (string text);
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.DescriptionRun : string -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.DescriptionRun
Public Sub New (text As String)

Parameters

text
String

The run's text.

Applies to

DescriptionRun(String, Boolean)

Creates a new DescriptionRun.

public:
 DescriptionRun(System::String ^ text, bool bold);
public:
 DescriptionRun(Platform::String ^ text, bool bold);
 DescriptionRun(std::wstring const & text, bool bold);
public DescriptionRun (string text, bool bold);
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.DescriptionRun : string * bool -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.DescriptionRun
Public Sub New (text As String, bold As Boolean)

Parameters

text
String

The run's text.

bold
Boolean

If the run is to be bolded.

Applies to

DescriptionRun(String, Color)

Creates a new DescriptionRun.

public:
 DescriptionRun(System::String ^ text, System::Drawing::Color color);
public DescriptionRun (string text, System.Drawing.Color color);
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.DescriptionRun : string * System.Drawing.Color -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.DescriptionRun
Public Sub New (text As String, color As Color)

Parameters

text
String

The run's text.

color
Color

The run's color.

Applies to

DescriptionRun(String, Color, Boolean, Boolean, Boolean)

Creates a new DescriptionRun.

public:
 DescriptionRun(System::String ^ text, System::Drawing::Color color, bool bold, bool italic, bool underline);
public DescriptionRun (string text, System.Drawing.Color color, bool bold, bool italic, bool underline);
new Microsoft.VisualStudio.Language.NavigateTo.Interfaces.DescriptionRun : string * System.Drawing.Color * bool * bool * bool -> Microsoft.VisualStudio.Language.NavigateTo.Interfaces.DescriptionRun
Public Sub New (text As String, color As Color, bold As Boolean, italic As Boolean, underline As Boolean)

Parameters

text
String

The run's text.

color
Color

The run's color.

bold
Boolean

If the run is to be bolded.

italic
Boolean

If the run is to be italicized.

underline
Boolean

If the run is to be underlined.

Applies to