Partager via


VisualBasicExtensions.GetBase(SyntaxToken) Method

Definition

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