Click or drag to resize

BsonBinaryWriterPushMaxDocumentSize Method

Note: This API is now obsolete.

Pushes a new max document size onto the max document size stack.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
[ObsoleteAttribute("Use PushSettings instead.")]
public void PushMaxDocumentSize(
	int maxDocumentSize
)

Parameters

maxDocumentSize
Type: SystemInt32
The maximum size of the document.
See Also