Mono Class Library: System.IO.Stream Overview | MembersSystem.IO.Stream.Length Property |
Gets the length in bytes of the stream. [Edit]
|
A long value representing the length of the stream in bytes. [Edit]
Type Reason NotSupportedException The stream does not support seeking. [Edit] ObjectDisposedException The stream is closed. [Edit]
Note: Use the Stream.CanSeek property to determine whether the current instance supports seeking.Operation
This property is read-only. [Edit]
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0