Compartilhar via


FileRandomAccessStream.WriteAsync(IBuffer) Método

Definição

Grava dados de forma assíncrona em um arquivo.

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 é gravada.

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