Seeks to a position in the file stream.

Namespace: Composite.Core.IO.Plugins.IOProvider
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
long Seek(
	long offset,
	SeekOrigin origin
)
Visual Basic
Function Seek ( _
	offset As Long, _
	origin As SeekOrigin _
) As Long
Visual C++
long long Seek(
	long long offset, 
	SeekOrigin origin
)

Parameters

offset
Type: System..::..Int64
Offset to seek.
origin
Type: System.IO..::..SeekOrigin
Origin to seek from.

Return Value

The new position in the stream.

See Also