FileStream.Length Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the length in bytes of the stream.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | CanSeek for this stream is false. |
| IOException | An I/O error occurs, such as the file being closed. |
Show: