[This is preliminary documentation and is subject to change.]

Seek to a specific position in the stream.

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.6.0.0 (0.6.0.0)

Syntax

C#
public override long Seek(
	long offset,
	SeekOrigin origin
)
Visual Basic (Declaration)
Public Overrides Function Seek ( _
	offset As Long, _
	origin As SeekOrigin _
) As Long
Visual C++
public:
virtual long long Seek(
	long long offset, 
	SeekOrigin origin
) override

Parameters

offset
Type: System..::.Int64
Offset (in bytes) from the origin.
origin
Type: System.IO..::.SeekOrigin
Where to start seeking from.

Return Value

The new position in the stream.

See Also