MemoryStream: Position (let) |
Sets the current position within the stream.
Public Property Let Position( ByVal Value As Currency )
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.
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The position is set to a negative value or a value greater than 32bit integer max value. |
ObjectDisposedException | The stream is closed. |