QuicStream.Seek(Int64, SeekOrigin) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the current position of the stream to the given value. This method is not currently supported and always throws a NotSupportedException.
public:
override long Seek(long offset, System::IO::SeekOrigin origin);
public override long Seek (long offset, System.IO.SeekOrigin origin);
override this.Seek : int64 * System.IO.SeekOrigin -> int64
Public Overrides Function Seek (offset As Long, origin As SeekOrigin) As Long
Parameters
- offset
- Int64
A byte offset relative to the origin
parameter.
- origin
- SeekOrigin
A value of type SeekOrigin indicating the reference point used to obtain the new position.
Returns
The new position within the current stream.
Exceptions
In all cases.