Click or drag to resize
BsonValue  Conversion (BsonValue to NullableDateTime)
Casts a BsonValue to a DateTime?.

Namespace: MongoDB.Bson
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
Syntax
public static explicit operator Nullable<DateTime> (
	BsonValue value
)

Parameters

value
Type: MongoDB.BsonBsonValue
The BsonValue.

Return Value

Type: NullableDateTime
A DateTime?.
See Also