Click or drag to resize

DelegatingStreamLength Property

When overridden in a derived class, gets the length in bytes of the stream.

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public override long Length { get; }

Return Value

Type: Int64
A long value representing the length of the stream in bytes.
Exceptions
ExceptionCondition
NotSupportedExceptionA class derived from Stream does not support seeking.
ObjectDisposedExceptionMethods were called after the stream was closed.
See Also