MemoryStream.Position Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the current position within the stream.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The position is set to a negative value or a value greater than MaxValue. |
| ObjectDisposedException | The stream is closed. |
Show: