ComponentOne Bitmap for UWP
CopyTo Method (IStream)

C1.UWP.DX Assembly > C1.Util.DX.Storage Namespace > IStream Interface : CopyTo Method
The stream destination.
The number of bytes to copy.
The number of bytes written.
Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.
Syntax
'Declaration
 
Function CopyTo( _
   ByVal streamDest As IStream, _
   ByVal numberOfBytesToCopy As System.Long, _
   ByRef bytesWritten As System.Long _
) As System.Long
System.long CopyTo( 
   IStream streamDest,
   System.long numberOfBytesToCopy,
   out System.long bytesWritten
)

Parameters

streamDest
The stream destination.
numberOfBytesToCopy
The number of bytes to copy.
bytesWritten
The number of bytes written.

Return Value

The number of bytes read
See Also

Reference

IStream Interface
IStream Members