Sets the current position of this stream to the given value.
Assembly: mscorlib (in mscorlib.dll)
[SecuritySafeCriticalAttribute] public override long Seek( long offset, SeekOrigin origin )
- 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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.