ClassifiedTextElement.CreatePlainText(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.