BuildMaster SDK Reference
Version:

Seek(long offset, System.IO.SeekOrigin origin) Method

Sets the position within the current stream.

Syntax

public virtual long Seek(long offset, System.IO.SeekOrigin origin)

Parameters

offset
Type: long

A byte offset relative to the origin parameter.

origin
Type: System.IO.SeekOrigin

A value of type System.IO.SeekOrigin indicating the reference point used to obtain the new position.

Returns

The new position within the current stream.