The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
BufferedStream::Length Property
.NET Framework (current version)
Gets the stream length in bytes.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| IOException | The underlying stream is null or closed. |
| NotSupportedException | The stream does not support seeking. |
| ObjectDisposedException | Methods were called after the stream was closed. |
.NET Framework
Available since 1.1
Available since 1.1
Show: