Share via


SyntaxFactory.XmlTextToken Method

Definition

Overloads

XmlTextToken(SyntaxKind, String, String)

Represents character data in Xml content also known as PCData or in an Xml attribute value. All text is here for now even text that does not need normalization such as comment, pi and cdata text.

XmlTextToken(SyntaxTriviaList, SyntaxKind, String, String, SyntaxTriviaList)

Represents character data in Xml content also known as PCData or in an Xml attribute value. All text is here for now even text that does not need normalization such as comment, pi and cdata text.

XmlTextToken(SyntaxKind, String, String)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents character data in Xml content also known as PCData or in an Xml attribute value. All text is here for now even text that does not need normalization such as comment, pi and cdata text.

public:
 static Microsoft::CodeAnalysis::SyntaxToken XmlTextToken(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, System::String ^ text, System::String ^ value);
public static Microsoft.CodeAnalysis.SyntaxToken XmlTextToken (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, string text, string value);
static member XmlTextToken : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * string * string -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function XmlTextToken (kind As SyntaxKind, text As String, value As String) As SyntaxToken

Parameters

kind
SyntaxKind

A SyntaxKind representing the specific kind of XmlTextTokenSyntax. One of XmlTextLiteralToken, XmlEntityLiteralToken, DocumentationCommentLineBreakToken.

text
String

The actual text of this token.

value
String

Returns

Applies to

XmlTextToken(SyntaxTriviaList, SyntaxKind, String, String, SyntaxTriviaList)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents character data in Xml content also known as PCData or in an Xml attribute value. All text is here for now even text that does not need normalization such as comment, pi and cdata text.

public:
 static Microsoft::CodeAnalysis::SyntaxToken XmlTextToken(Microsoft::CodeAnalysis::SyntaxTriviaList leadingTrivia, Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, System::String ^ text, System::String ^ value, Microsoft::CodeAnalysis::SyntaxTriviaList trailingTrivia);
public static Microsoft.CodeAnalysis.SyntaxToken XmlTextToken (Microsoft.CodeAnalysis.SyntaxTriviaList leadingTrivia, Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, string text, string value, Microsoft.CodeAnalysis.SyntaxTriviaList trailingTrivia);
static member XmlTextToken : Microsoft.CodeAnalysis.SyntaxTriviaList * Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * string * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function XmlTextToken (leadingTrivia As SyntaxTriviaList, kind As SyntaxKind, text As String, value As String, trailingTrivia As SyntaxTriviaList) As SyntaxToken

Parameters

leadingTrivia
SyntaxTriviaList
kind
SyntaxKind

A SyntaxKind representing the specific kind of XmlTextTokenSyntax. One of XmlTextLiteralToken, XmlEntityLiteralToken, DocumentationCommentLineBreakToken.

text
String

The actual text of this token.

value
String
trailingTrivia
SyntaxTriviaList

Returns

Applies to