BsonDocumentWriter Constructor (BsonDocument) |
Initializes a new instance of the BsonDocumentWriter class.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax public BsonDocumentWriter(
BsonDocument document
)
Public Sub New (
document As BsonDocument
)
new :
document : BsonDocument -> BsonDocumentWriter
Parameters
- document
- Type: MongoDB.BsonBsonDocument
The document to write to (normally starts out as an empty document).
See Also