Table of Contents

Constructor BsonDocumentReader

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

BsonDocumentReader(BsonDocument)

Initializes a new instance of the BsonDocumentReader class.

public BsonDocumentReader(BsonDocument document)

Parameters

document BsonDocument

A BsonDocument.

BsonDocumentReader(BsonDocument, BsonDocumentReaderSettings)

Initializes a new instance of the BsonDocumentReader class.

public BsonDocumentReader(BsonDocument document, BsonDocumentReaderSettings settings)

Parameters

document BsonDocument

A BsonDocument.

settings BsonDocumentReaderSettings

The reader settings.