Share via


FileIO.WriteBytesAsync(IStorageFile, Byte[]) Método

Definição

Grava uma matriz de bytes de dados no arquivo especificado.

public:
 static IAsyncAction ^ WriteBytesAsync(IStorageFile ^ file, Platform::Array <byte> ^ buffer);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction WriteBytesAsync(IStorageFile const& file, winrt::array_view <byte> const& buffer);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction WriteBytesAsync(IStorageFile file, byte[] buffer);
function writeBytesAsync(file, buffer)
Public Shared Function WriteBytesAsync (file As IStorageFile, buffer As Byte()) As IAsyncAction

Parâmetros

file
IStorageFile

O arquivo no qual o byte é gravado.

buffer

Byte[]

byte[]

A matriz de bytes a serem gravados.

Retornos

Nenhum objeto ou valor é retornado quando esse método é concluído.

Atributos

Aplica-se a