Sets the position within the current stream.
public override long Seek(long offset, SeekOrigin origin)
parameter | description |
---|---|
offset | A byte offset relative to the origin parameter. |
origin | A value of type SeekOrigin indicating the reference point used to obtain the new position. |
The new position within the current stream.