 | StreamExtensionsCopyTo(Stream, Stream) Method |
Copies one stream to another.
Namespace: Ookii.JumboAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static void CopyTo(
this Stream source,
Stream destination
)
<ExtensionAttribute>
Public Shared Sub CopyTo (
source As Stream,
destination As Stream
)
public:
[ExtensionAttribute]
static void CopyTo(
Stream^ source,
Stream^ destination
)
[<ExtensionAttribute>]
static member CopyTo :
source : Stream *
destination : Stream -> unit
Parameters
- source Stream
- The stream to copy from.
- destination Stream
- The stream to copy to.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Stream. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also