Gets or sets the current position of this stream.
A long containing the current position of this stream.
Type Reason NotSupportedException The current stream does not support seeking. System.IO.IOException An I/O error occurred. System.IO.EndOfStreamException Attempted seeking past the end of a stream that does not support this. ArgumentOutOfRangeException The value specified for a set operation is negative.
The position can be set beyond the end of the stream.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0