Click or drag to resize

BsonDocumentReader Constructor (BsonDocument, BsonDocumentReaderSettings)

Initializes a new instance of the BsonDocumentReader class.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public BsonDocumentReader(
	BsonDocument document,
	BsonDocumentReaderSettings settings
)

Parameters

document
Type: MongoDB.BsonBsonDocument
A BsonDocument.
settings
Type: MongoDB.Bson.IOBsonDocumentReaderSettings
The reader settings.
See Also