Stream.CopyTo Method

Reads the bytes from the current stream and writes them to another stream.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Portable Class Library CopyTo(Stream) Reads the bytes from the current stream and writes them to another stream.
Public method Supported by Portable Class Library CopyTo(Stream, Int32) Reads the bytes from the current stream and writes them to another stream, using a specified buffer size.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft