MemoryStream: WriteTo

WriteTo

Writes the entire contents of this memory stream to another stream.



 Public Sub WriteTo(
	  ByVal Stream As Stream )

Parameters

Stream
[ByVal] Stream. The stream to write this memory stream to.

Exceptions

ExceptionCondition
ArgumentNullExceptionStream is Nothing.
ObjectDisposedExceptionThe current or target stream is closed.

See Also

Project CorLib Overview

Class MemoryStream Overview