Parameters
- offset
- origin
Return Value
The new position within the current stream.
Exception | Description |
---|---|
System.IO.IOException | An I/O error occurs. |
System.NotSupportedException | The stream does not support seeking, such as if the stream is constructed from a pipe or console output. |
System.ObjectDisposedException | Methods were called after the stream was closed. |