ComponentOne Bitmap for UWP
CopyTo Method (ComStream)

C1.UWP.DX Assembly > C1.Util.DX.Storage Namespace > ComStream Class : CopyTo Method
The stream destination.
The number of bytes to copy.
The 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
 
Public Function CopyTo( _
   ByVal streamDest As IStream, _
   ByVal numberOfBytesToCopy As System.Long, _
   ByRef bytesWritten As System.Long _
) As System.Long
public 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 bytes written.

Return Value

The number of bytes read from this instance
See Also

Reference

ComStream Class
ComStream Members