SyntaxFactory.CharacterLiteralToken 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
CharacterLiteralToken(String, Char) |
Represents a string literal token. |
CharacterLiteralToken(SyntaxTriviaList, String, Char, SyntaxTriviaList) |
Represents a string literal token. |
CharacterLiteralToken(String, Char)
- 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
Represents a string literal token.
public:
static Microsoft::CodeAnalysis::SyntaxToken CharacterLiteralToken(System::String ^ text, char value);
public static Microsoft.CodeAnalysis.SyntaxToken CharacterLiteralToken (string text, char value);
static member CharacterLiteralToken : string * char -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function CharacterLiteralToken (text As String, value As Char) As SyntaxToken
Parameters
- text
- String
The actual text of this token.
- value
- Char
Returns
Applies to
CharacterLiteralToken(SyntaxTriviaList, String, Char, 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
Represents a string literal token.
public:
static Microsoft::CodeAnalysis::SyntaxToken CharacterLiteralToken(Microsoft::CodeAnalysis::SyntaxTriviaList leadingTrivia, System::String ^ text, char value, Microsoft::CodeAnalysis::SyntaxTriviaList trailingTrivia);
public static Microsoft.CodeAnalysis.SyntaxToken CharacterLiteralToken (Microsoft.CodeAnalysis.SyntaxTriviaList leadingTrivia, string text, char value, Microsoft.CodeAnalysis.SyntaxTriviaList trailingTrivia);
static member CharacterLiteralToken : Microsoft.CodeAnalysis.SyntaxTriviaList * string * char * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function CharacterLiteralToken (leadingTrivia As SyntaxTriviaList, text As String, value As Char, trailingTrivia As SyntaxTriviaList) As SyntaxToken
Parameters
- leadingTrivia
- SyntaxTriviaList
- text
- String
The actual text of this token.
- value
- Char
- 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.