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.