MultiChunkBuffer Constructor (IEnumerableIBsonChunk, NullableInt32, Boolean) |
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public MultiChunkBuffer(
IEnumerable<IBsonChunk> chunks,
Nullable<int> length = null,
bool isReadOnly = false
)
Public Sub New (
chunks As IEnumerable(Of IBsonChunk),
Optional length As Nullable(Of Integer) = Nothing,
Optional isReadOnly As Boolean = false
)
new :
chunks : IEnumerable<IBsonChunk> *
?length : Nullable<int> *
?isReadOnly : bool
(* Defaults:
let _length = defaultArg length null
let _isReadOnly = defaultArg isReadOnly false
*)
-> MultiChunkBuffer
Parameters
- chunks
- Type: System.Collections.GenericIEnumerableIBsonChunk
The chunks. - length (Optional)
- Type: SystemNullableInt32
The length. - isReadOnly (Optional)
- Type: SystemBoolean
Whether the buffer is read only.
Exceptions See Also