Stream.Length Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, gets the length in bytes of the stream.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | A class derived from Stream does not support seeking. |
| ObjectDisposedException | Methods were called after the stream was closed. |
Show: