Stream: SeekPosition

SeekPosition

Moves the current stream pointer to a new position.



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

Parameters

offset
[ByVal] Currency. The number of bytes to move the pointer (can be negative.)
Origin
[ByVal] SeekOrigin. The reference to begin moving from.

Return Values

Currency -  The final position the pointer moved to.

Remarks

See Also

Project VBCorLib Overview Class Stream Overview Stream Properties Stream Methods SeekOrigin SetLength