Table of Contents

Class Int64JsonToken

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents an Int64 JSON token.

public class Int64JsonToken : JsonToken
Inheritance
Int64JsonToken
Inherited Members
Extension Methods

Constructors

Int64JsonToken(string, long)

Initializes a new instance of the Int64JsonToken class.

public Int64JsonToken(string lexeme, long value)

Parameters

lexeme string

The lexeme.

value long

The Int64 value.

Properties

DoubleValue

Gets the value of a Double token.

public override double DoubleValue { get; }

Property Value

double

Int32Value

Gets the value of an Int32 token.

public override int Int32Value { get; }

Property Value

int

Int64Value

Gets the value of an Int64 token.

public override long Int64Value { get; }

Property Value

long

IsNumber

Gets a value indicating whether this token is number.

public override bool IsNumber { get; }

Property Value

bool

true if this token is number; otherwise, false.