FileStream: SeekPosition

SeekPosition

Moves the file pointer to a new position relative to a specified reference.



 Public Function SeekPosition(
	  ByVal Offset As Currency,
	  ByVal Origin As SeekOrigin ) As Currency

Parameters

Offset
[ByVal] Currency. The number of bytes to move from the reference point. The value can be negative to move backwards.
Origin
[ByVal] SeekOrigin. The reference point to begin moving the file pointer from.

Return Values

Currency -  The new position in the file stream.

See Also

Project CorLib Overview

Class FileStream Overview