SyntaxFactory.XmlNameToken 方法

定义

重载

XmlNameToken(String, SyntaxKind)

表示 XML 1.0 中每个命名空间的 Xml NCName

XmlNameToken(SyntaxTriviaList, String, SyntaxKind, SyntaxTriviaList)

表示 XML 1.0 中每个命名空间的 Xml NCName

XmlNameToken(String, SyntaxKind)

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
Source:
Syntax.xml.Main.Generated.vb

表示 XML 1.0 中每个命名空间的 Xml NCName

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

参数

text
String

此令牌的实际文本。

possibleKeywordKind
SyntaxKind

返回

适用于

XmlNameToken(SyntaxTriviaList, String, SyntaxKind, 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
Source:
Syntax.xml.Main.Generated.vb

表示 XML 1.0 中每个命名空间的 Xml NCName

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

参数

leadingTrivia
SyntaxTriviaList
text
String

此令牌的实际文本。

possibleKeywordKind
SyntaxKind
trailingTrivia
SyntaxTriviaList

返回

适用于