Gets or sets the position within the current stream.
A long that specifies the current position within the stream.
Type Reason System.IO.IOException An I/O error has occurred. NotSupportedException The stream does not support seeking. ObjectDisposedException The stream is closed.
The stream is required to support seeking to get or set the position.
Note: Use the Stream.CanSeek property to determine whether the current instance supports seeking.Classes that derive from System.IO.Stream are required to provide an implementation of this property.
Operation
As described above.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0