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.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax [ObsoleteAttribute("Use PushSettings instead.")]
public void PushMaxDocumentSize(
int maxDocumentSize
)
<ObsoleteAttribute("Use PushSettings instead.")>
Public Sub PushMaxDocumentSize (
maxDocumentSize As Integer
)
[<ObsoleteAttribute("Use PushSettings instead.")>]
member PushMaxDocumentSize :
maxDocumentSize : int -> unit
Parameters
- maxDocumentSize
- Type: SystemInt32
The maximum size of the document.
See Also