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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.