IStream.CopyTo(IStream, Int64, IntPtr, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.
public:
void CopyTo(System::Runtime::InteropServices::ComTypes::IStream ^ pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
public void CopyTo (System.Runtime.InteropServices.ComTypes.IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
abstract member CopyTo : System.Runtime.InteropServices.ComTypes.IStream * int64 * nativeint * nativeint -> unit
Public Sub CopyTo (pstm As IStream, cb As Long, pcbRead As IntPtr, pcbWritten As IntPtr)
Parameters
- pstm
- IStream
A reference to the destination stream.
- cb
- Int64
The number of bytes to copy from the source stream.
- pcbRead
-
IntPtr
nativeint
On successful return, contains the actual number of bytes read from the source.
- pcbWritten
-
IntPtr
nativeint
On successful return, contains the actual number of bytes written to the destination.
Remarks
For more information, see the existing documentation for IStream::CopyTo.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru