Table of Contents

Property AsBsonDocument

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

AsBsonDocument

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

public BsonDocument AsBsonDocument { get; }

Property Value

BsonDocument