Compartilhar via


ClassifiedTextElement Constructors

Definition

Overloads

ClassifiedTextElement(ClassifiedTextRun[])

Creates a new instance of classified text.

ClassifiedTextElement(IEnumerable<ClassifiedTextRun>)

Creates a new instance of classified text.

ClassifiedTextElement(ClassifiedTextRun[])

Creates a new instance of classified text.

public:
 ClassifiedTextElement(... cli::array <Microsoft::VisualStudio::Text::Adornments::ClassifiedTextRun ^> ^ runs);
public ClassifiedTextElement (params Microsoft.VisualStudio.Text.Adornments.ClassifiedTextRun[] runs);
new Microsoft.VisualStudio.Text.Adornments.ClassifiedTextElement : Microsoft.VisualStudio.Text.Adornments.ClassifiedTextRun[] -> Microsoft.VisualStudio.Text.Adornments.ClassifiedTextElement
Public Sub New (ParamArray runs As ClassifiedTextRun())

Parameters

runs
ClassifiedTextRun[]

A sequence of zero or more runs of classified text.

Applies to

ClassifiedTextElement(IEnumerable<ClassifiedTextRun>)

Creates a new instance of classified text.

public:
 ClassifiedTextElement(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Text::Adornments::ClassifiedTextRun ^> ^ runs);
public ClassifiedTextElement (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Adornments.ClassifiedTextRun> runs);
new Microsoft.VisualStudio.Text.Adornments.ClassifiedTextElement : seq<Microsoft.VisualStudio.Text.Adornments.ClassifiedTextRun> -> Microsoft.VisualStudio.Text.Adornments.ClassifiedTextElement
Public Sub New (runs As IEnumerable(Of ClassifiedTextRun))

Parameters

runs
IEnumerable<ClassifiedTextRun>

A sequence of zero or more runs of classified text.

Applies to