InputStreamInvoker.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 file channel's position relative to the selected origin. If no channel is available, throws NotSupportedException.
public override long Seek(long offset, System.IO.SeekOrigin origin);
override this.Seek : int64 * System.IO.SeekOrigin -> int64
Parameters
- offset
- Int64
The offset to add to the selected position.
- origin
- SeekOrigin
The start, current position, or end of the file channel.
Returns
The file channel's position after the operation.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.