FileStream: Position (let)

Position

Sets the current position within the stream to be read from or written to.



 Public Property Let Position(
	  ByVal RHS As Currency )

Parameters

RHS
[ByVal] Currency. The new position in the stream.

Remarks

The position is an absolute byte position from the beginning of the file. If the new position is negative an exception is thrown. If the FileStream is opened in Append mode, then the position cannot be set to data within the original file.

Read/Write.

See Also

Project VBCorLib Overview Class FileStream Overview FileStream Properties FileStream Methods Position (get) ReadBlock