IStream.CopyTo Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub CopyTo ( _
pstm As IStream, _
cb As ULARGE_INTEGER, _
<OutAttribute> pcbRead As ULARGE_INTEGER(), _
<OutAttribute> pcbWritten As ULARGE_INTEGER() _
)
'Usage
Dim instance As IStream
Dim pstm As IStream
Dim cb As ULARGE_INTEGER
Dim pcbRead As ULARGE_INTEGER()
Dim pcbWritten As ULARGE_INTEGER()
instance.CopyTo(pstm, cb, pcbRead, pcbWritten)
void CopyTo(
IStream pstm,
ULARGE_INTEGER cb,
ULARGE_INTEGER[] pcbRead,
ULARGE_INTEGER[] pcbWritten
)
void CopyTo(
[InAttribute] IStream^ pstm,
[InAttribute] ULARGE_INTEGER cb,
[OutAttribute] array<ULARGE_INTEGER>^ pcbRead,
[OutAttribute] array<ULARGE_INTEGER>^ pcbWritten
)
abstract CopyTo :
pstm:IStream *
cb:ULARGE_INTEGER *
pcbRead:ULARGE_INTEGER[] byref *
pcbWritten:ULARGE_INTEGER[] byref -> unit
function CopyTo(
pstm : IStream,
cb : ULARGE_INTEGER,
pcbRead : ULARGE_INTEGER[],
pcbWritten : ULARGE_INTEGER[]
)
Parameters
- pstm
Type: Microsoft.VisualStudio.OLE.Interop.IStream
- pcbRead
Type: array<Microsoft.VisualStudio.OLE.Interop.ULARGE_INTEGER[]
- pcbWritten
Type: array<Microsoft.VisualStudio.OLE.Interop.ULARGE_INTEGER[]
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.