PeekableStream.Seek Method ​
Definition ​
When overridden in a derived class, sets the position within the current stream.
c#
public override long Seek(long offset, SeekOrigin origin);Parameters ​
| Name | Type | Description |
|---|---|---|
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.