VisualBasicExtensions.GetBase(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.
The source token base for Integer literals. Base can be Decimal, Hex or Octal.
public:
[System::Runtime::CompilerServices::Extension]
static Nullable<Microsoft::CodeAnalysis::VisualBasic::Syntax::LiteralBase> GetBase(Microsoft::CodeAnalysis::SyntaxToken token);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LiteralBase? GetBase (this Microsoft.CodeAnalysis.SyntaxToken token);
static member GetBase : Microsoft.CodeAnalysis.SyntaxToken -> Nullable<Microsoft.CodeAnalysis.VisualBasic.Syntax.LiteralBase>
<Extension()>
Public Function GetBase (token As SyntaxToken) As Nullable(Of LiteralBase)
Parameters
- token
- SyntaxToken
The source SyntaxToken.
Returns
An instance representing the integer literal base.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.