July 28, 2014
Sets the current position of this stream to the given value.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Int64
The point relative to origin from which to begin seeking.
Return ValueType: System.Int64
The new position in the stream.
An I/O error occurs.
The stream does not support seeking, such as if the FileStream is constructed from a pipe or console output.
Attempted seeking before the beginning of the stream.
Methods were called after the stream was closed.