Share via


InMemoryRandomAccessStream.WriteAsync(IBuffer) Metode

Definisi

Menulis data secara asinkron dalam aliran berurutan.

public:
 virtual IAsyncOperationWithProgress<unsigned int, unsigned int> ^ WriteAsync(IBuffer ^ buffer) = WriteAsync;
IAsyncOperationWithProgress<uint32_t, uint32_t> WriteAsync(IBuffer const& buffer);
public IAsyncOperationWithProgress<uint,uint> WriteAsync(IBuffer buffer);
function writeAsync(buffer)
Public Function WriteAsync (buffer As IBuffer) As IAsyncOperationWithProgress(Of UInteger, UInteger)

Parameter

buffer
IBuffer

Buffer tempat operasi penulis asinkron menulis.

Mengembalikan

IAsyncOperationWithProgress<UInt32,UInt32>

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

IAsyncOperationWithProgress<uint32_t,uint32_t>

Operasi penulis byte.

Penerapan

Berlaku untuk