SyntaxFactory.XmlNameToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
XmlNameToken(String, SyntaxKind) |
Represents an Xml NCName per Namespaces in XML 1.0 |
XmlNameToken(SyntaxTriviaList, String, SyntaxKind, SyntaxTriviaList) |
Represents an Xml NCName per Namespaces in XML 1.0 |
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
Represents an Xml NCName per Namespaces in XML 1.0
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
Parameters
- text
- String
The actual text of this token.
- possibleKeywordKind
- SyntaxKind
Returns
Applies to
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
Represents an Xml NCName per Namespaces in XML 1.0
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
Parameters
- leadingTrivia
- SyntaxTriviaList
- text
- String
The actual text of this token.
- possibleKeywordKind
- SyntaxKind
- trailingTrivia
- SyntaxTriviaList
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.