SyntaxFactory.XmlNameToken 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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