Table of Contents

Property Length

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.dll

Length

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

public override long Length { get; }

Property Value

long

A long value representing the length of the stream in bytes.

Exceptions

NotSupportedException

A class derived from Stream does not support seeking.

ObjectDisposedException

Methods were called after the stream was closed.