BsonStreamAdapterSetLength Method  | 
 When overridden in a derived class, sets the length of the current stream.
 
    Namespace: 
   MongoDB.Bson.IO
    Assembly:
   MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntaxpublic override void SetLength(
	long value
)
Public Overrides Sub SetLength ( 
	value As Long
)
abstract SetLength : 
        value : int64 -> unit 
override SetLength : 
        value : int64 -> unit Parameters
- value
 - Type: SystemInt64
The desired length of the current stream in bytes.  
Exceptions
See Also