Share via


RandomAccessStream.CopyAsync Methode

Definition

Überlädt

CopyAsync(IInputStream, IOutputStream)

Kopiert einen Quelldatenstrom in einen Zieldatenstrom.

CopyAsync(IInputStream, IOutputStream, UInt64)

Kopiert die angegebene Anzahl von Bytes aus einem Quelldatenstrom in einen Zieldatenstrom.

CopyAsync(IInputStream, IOutputStream)

Kopiert einen Quelldatenstrom in einen Zieldatenstrom.

public:
 static IAsyncOperationWithProgress<unsigned long long, unsigned long long> ^ CopyAsync(IInputStream ^ source, IOutputStream ^ destination);
/// [Windows.Foundation.Metadata.Overload("CopyAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperationWithProgress<uint64_t, uint64_t> CopyAsync(IInputStream const& source, IOutputStream const& destination);
[Windows.Foundation.Metadata.Overload("CopyAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperationWithProgress<ulong,ulong> CopyAsync(IInputStream source, IOutputStream destination);
function copyAsync(source, destination)
Public Shared Function CopyAsync (source As IInputStream, destination As IOutputStream) As IAsyncOperationWithProgress(Of ULong, ULong)

Parameter

source
IInputStream

Der Stream, aus dem Daten kopiert werden sollen.

destination
IOutputStream

Der Stream, in den Daten kopiert werden sollen.

Gibt zurück

IAsyncOperationWithProgress<UInt64,UInt64>

Windows.Foundation.IAsyncOperationWithProgress<unsigned long long,unsigned long long>

IAsyncOperationWithProgress<uint64_t,uint64_t>

Der Byte-Writer-Vorgang. Die erste ganze Zahl stellt die Anzahl der geschriebenen Bytes dar. Die zweite ganze Zahl stellt den Fortschritt des Schreibvorgangs dar.

Attribute

Weitere Informationen

Gilt für:

CopyAsync(IInputStream, IOutputStream, UInt64)

Kopiert die angegebene Anzahl von Bytes aus einem Quelldatenstrom in einen Zieldatenstrom.

public:
 static IAsyncOperationWithProgress<unsigned long long, unsigned long long> ^ CopyAsync(IInputStream ^ source, IOutputStream ^ destination, unsigned long long bytesToCopy);
/// [Windows.Foundation.Metadata.Overload("CopySizeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperationWithProgress<uint64_t, uint64_t> CopyAsync(IInputStream const& source, IOutputStream const& destination, uint64_t const& bytesToCopy);
[Windows.Foundation.Metadata.Overload("CopySizeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperationWithProgress<ulong,ulong> CopyAsync(IInputStream source, IOutputStream destination, ulong bytesToCopy);
function copyAsync(source, destination, bytesToCopy)
Public Shared Function CopyAsync (source As IInputStream, destination As IOutputStream, bytesToCopy As ULong) As IAsyncOperationWithProgress(Of ULong, ULong)

Parameter

source
IInputStream

Der Stream, aus dem Daten kopiert werden sollen.

destination
IOutputStream

Der Stream, in den Daten kopiert werden sollen.

bytesToCopy
UInt64

unsigned long long

uint64_t

Die Anzahl der zu kopierenden Bytes.

Gibt zurück

IAsyncOperationWithProgress<UInt64,UInt64>

Windows.Foundation.IAsyncOperationWithProgress<unsigned long long,unsigned long long>

IAsyncOperationWithProgress<uint64_t,uint64_t>

Der Byte-Writer-Vorgang. Die erste ganze Zahl stellt die Anzahl der geschriebenen Bytes dar. Die zweite ganze Zahl stellt den Fortschritt des Schreibvorgangs dar.

Attribute

Weitere Informationen

Gilt für: