共用方式為


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

代表 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

代表 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

傳回

適用於