VisualBasicExtensions.GetTypeCharacter(SyntaxToken) 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.
Returns the Type character for a given syntax token. This returns type character for Identifiers or Integer, Floating Point or Decimal Literals. Examples: Dim a$ or Dim l1 = 1L
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeCharacter GetTypeCharacter(Microsoft::CodeAnalysis::SyntaxToken token);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter GetTypeCharacter (this Microsoft.CodeAnalysis.SyntaxToken token);
static member GetTypeCharacter : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeCharacter
<Extension()>
Public Function GetTypeCharacter (token As SyntaxToken) As TypeCharacter
Parameters
- token
- SyntaxToken
The source SyntaxToken.
Returns
A type character used for the specific Internal Syntax Token Types.
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.