Partilhar via


InMemoryRandomAccessStream.WriteAsync(IBuffer) Método

Definição

Grava dados de forma assíncrona em um fluxo sequencial.

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)

Parâmetros

buffer
IBuffer

O buffer no qual a operação de gravador assíncrona grava.

Retornos

IAsyncOperationWithProgress<UInt32,UInt32>

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

IAsyncOperationWithProgress<uint32_t,uint32_t>

A operação de gravador de bytes.

Implementações

Aplica-se a