Krystalware
SlickUpload logo

Seek Method (offset, origin)

Overridden. Sets the current position of this stream to the given value.

Declaration Syntax

C#

public override long Seek(
	long offset,
	SeekOrigin origin
)

Visual Basic

Public Overrides Function Seek ( _
	offset As Long, _
	origin As SeekOrigin _
) As Long

Parameters

offset– (Int64)
The point relative to origin from which to begin seeking.
origin– (SeekOrigin)
Specifies the beginning, the end, or the current position as a reference point for origin, using a value of type SeekOrigin.

Return Value

The new position in the stream.

Assembly: Krystalware.SlickUpload, Version: 4.0