Freigeben über


ExtensionMethods.CopyTo(Stream, Stream) Method

Definition

Add a simple copy method to Stream

public:
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::IO::Stream ^ sourceStream, System::IO::Stream ^ targetStream);
public static void CopyTo (this System.IO.Stream sourceStream, System.IO.Stream targetStream);
static member CopyTo : System.IO.Stream * System.IO.Stream -> unit
<Extension()>
Public Sub CopyTo (sourceStream As Stream, targetStream As Stream)

Parameters

sourceStream
Stream
targetStream
Stream

Applies to