BsonDocumentWriter Constructor (BsonDocument) |
Initializes a new instance of the BsonDocumentWriter class.
Namespace: MongoDB.Bson.IOAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
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