Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Writes the entire contents of this memory stream to another stream.
Namespace: System.IO
Assembly: System.IO (in System.IO.dll)
Syntax
'Declaration
Public Overridable Sub WriteTo ( _
stream As Stream _
)
public virtual void WriteTo(
Stream stream
)
public:
virtual void WriteTo(
Stream^ stream
)
abstract WriteTo :
stream:Stream -> unit
override WriteTo :
stream:Stream -> unit
public function WriteTo(
stream : Stream
)
Parameters
- stream
Type: System.IO. . :: . .Stream
The stream to write this memory stream to.
Remarks
When the current stream is open, this method is equivalent to calling Stream..::..Write on the underlying buffer of this stream.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.