Table of Contents

Class DateTimeJsonToken

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

Represents a DateTime JSON token.

public class DateTimeJsonToken : JsonToken
Inheritance
DateTimeJsonToken
Inherited Members
Extension Methods

Constructors

DateTimeJsonToken(string, BsonDateTime)

Initializes a new instance of the DateTimeJsonToken class.

public DateTimeJsonToken(string lexeme, BsonDateTime value)

Parameters

lexeme string

The lexeme.

value BsonDateTime

The DateTime value.

Properties

DateTimeValue

Gets the value of a DateTime token.

public override BsonDateTime DateTimeValue { get; }

Property Value

BsonDateTime