Click or drag to resize

BsonStreamAdapterPosition Property

When overridden in a derived class, gets or sets the position within the current stream.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public override long Position { get; set; }

Return Value

Type: Int64
The current position within the stream.
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurs.
NotSupportedExceptionThe stream does not support seeking.
ObjectDisposedExceptionMethods were called after the stream was closed.
See Also