Condividi tramite


PathIO.WriteBytesAsync(String, Byte[]) Metodo

Definizione

Scrive un singolo byte di dati nel file nel percorso specificato o nell'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

Parametri

absolutePath
String

Platform::String

winrt::hstring

Percorso del file in cui viene scritto il byte.

buffer

Byte[]

byte[]

Matrice di byte da scrivere.

Restituisce

Al termine di questo metodo non viene restituito alcun oggetto o valore.

Attributi

Si applica a