SyntaxFactory.XmlTextToken 方法

定义

重载

XmlTextToken(SyntaxKind, String, String)

表示 Xml 内容(也称为 PCData)或 Xml 属性值中的字符数据。 所有文本目前都在这里,即使是不需要规范化的文本,如注释、pi 和 cdata 文本。

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

表示 Xml 内容(也称为 PCData)或 Xml 属性值中的字符数据。 所有文本目前都在这里,即使是不需要规范化的文本,如注释、pi 和 cdata 文本。

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

表示 Xml 内容(也称为 PCData)或 Xml 属性值中的字符数据。 所有文本目前都在这里,即使是不需要规范化的文本,如注释、pi 和 cdata 文本。

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

参数

kind
SyntaxKind

一个 SyntaxKind ,表示特定类型的 XmlTextTokenSyntax。 XmlTextLiteralToken、XmlEntityLiteralToken、DocumentationCommentLineBreakToken 之一。

text
String

此令牌的实际文本。

value
String

返回

适用于

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

表示 Xml 内容(也称为 PCData)或 Xml 属性值中的字符数据。 所有文本目前都在这里,即使是不需要规范化的文本,如注释、pi 和 cdata 文本。

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

参数

leadingTrivia
SyntaxTriviaList
kind
SyntaxKind

一个 SyntaxKind ,表示特定类型的 XmlTextTokenSyntax。 XmlTextLiteralToken、XmlEntityLiteralToken、DocumentationCommentLineBreakToken 之一。

text
String

此令牌的实际文本。

value
String
trailingTrivia
SyntaxTriviaList

返回

适用于