Class DateTimeJsonToken
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
lexemestringThe lexeme.
valueBsonDateTimeThe DateTime value.
Properties
DateTimeValue
Gets the value of a DateTime token.
public override BsonDateTime DateTimeValue { get; }