MemoryStream: CanWrite (get)

CanWrite

Gets value indicating whether the current stream supports writing.



 Public Property Get CanWrite ( ) As Boolean

Return Values

Boolean -  True if the stream supports writing; otherwise, False.

Remarks

If the MemoryStream object was created with the Writable parameter specified as True or the object was created with no parameters, then the stream supports writing.

If the stream is closed, this property return False.

Read Only.

See Also

Project CorLib Overview

Class MemoryStream Overview