PathIO.WriteBytesAsync(String, Byte[]) Método

Definição

Grava um único byte de dados no arquivo no caminho especificado ou no URI (Uniform Resource Identifier).

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

Parâmetros

absolutePath
String

Platform::String

winrt::hstring

O caminho do arquivo no qual o byte é gravado.

buffer

Byte[]

byte[]

Uma matriz de bytes a serem gravados.

Retornos

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

Atributos

Aplica-se a