Share via


MockAdlsInputStream.Seek(Int64, SeekOrigin) Method

Definition

Updates the position of the underlying stream based on SeekOrigin

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

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

Current new position of the stream

Applies to