When overridden in a derived class, gets or sets the position within the current stream.
Declaration Syntax
Return Value
The current position within the stream.
Exceptions
Exception | Condition |
---|---|
IOException | An I/O error occurs.
|
NotSupportedException | The stream does not support seeking.
|
ObjectDisposedException | Methods were called after the stream was closed.
|