MemoryStream: Position (get)

Position

Returns the current position within the stream.



 Public Property Get Position ( ) As Currency

Return Values

Currency -  The byte index within the stream.

Remarks

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

Read/Write.

Exceptions

ExceptionCondition
ObjectDisposedExceptionThe stream is closed.

See Also

Project CorLib Overview

Class MemoryStream Overview