Share via


ClassifiedTextElement.CreatePlainText(String) Method

Definition

Creates a new element with plain text.

public:
 static Microsoft::VisualStudio::Text::Adornments::ClassifiedTextElement ^ CreatePlainText(System::String ^ text);
public static Microsoft.VisualStudio.Text.Adornments.ClassifiedTextElement CreatePlainText (string text);
static member CreatePlainText : string -> Microsoft.VisualStudio.Text.Adornments.ClassifiedTextElement
Public Shared Function CreatePlainText (text As String) As ClassifiedTextElement

Parameters

text
String

The text rendered by this element.

Returns

ClassifiedTextElement containing the text.

Applies to