Table of Contents

Property AsBsonDateTime

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

AsBsonDateTime

Casts the BsonValue to a BsonDateTime (throws an InvalidCastException if the cast is not valid).

public BsonDateTime AsBsonDateTime { get; }

Property Value

BsonDateTime