MemoryStream: Position (let)

Position

Sets the current position within the stream.



 Public Property Let Position(
	  ByVal Value As Currency )

Parameters

Value
[ByVal] Currency. The current position within the stream.

Remarks

The position is the index at which the next read or write will occur. Position is always zero based, even if a user-supplied array is not.

Read/Write.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException The position is set to a negative value or a value greater than 32bit integer max value.
ObjectDisposedExceptionThe stream is closed.

See Also

Project CorLib Overview

Class MemoryStream Overview