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

Définition

Copie un nombre spécifié d'octets à partir du pointeur de recherche actuel d'un flux vers le pointeur de recherche actuel d'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

Après appel réussi de la méthode, contient le nombre réel d'octets lus à partir de la source.

pcbWritten
IntPtr

nativeint

Après appel réussi de la méthode, contient le nombre réel d'octets écrits dans la destination.

Remarques

Pour plus d’informations, consultez la documentation existante de IStream::CopyTo dans MSDN Library.

S’applique à