UCOMIStream.CopyTo(UCOMIStream, Int64, IntPtr, IntPtr) Méthode

Définition

Copie un nombre spécifié d’octets du pointeur de recherche actuel dans le flux vers le pointeur de recherche actuel dans un autre flux.

public:
 void CopyTo(System::Runtime::InteropServices::UCOMIStream ^ pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
public void CopyTo(System.Runtime.InteropServices.UCOMIStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
abstract member CopyTo : System.Runtime.InteropServices.UCOMIStream * int64 * nativeint * nativeint -> unit
Public Sub CopyTo (pstm As UCOMIStream, cb As Long, pcbRead As IntPtr, pcbWritten As IntPtr)

Paramètres

pstm
UCOMIStream

Référence au flux de destination.

cb
Int64

Nombre d’octets à copier à partir du flux source.

pcbRead
IntPtr

nativeint

En cas de retour réussi, contient le nombre réel d’octets lus à partir de la source.

pcbWritten
IntPtr

nativeint

En cas de retour réussi, contient le nombre réel d’octets écrits dans la destination.

Remarques

Pour plus d’informations, consultez la documentation existante de IStream::CopyTo la bibliothèque MSDN.

S’applique à