FileIO.WriteBytesAsync(IStorageFile, Byte[]) Methode

Definition

Schreibt ein Array von Datenbytes in die angegebene Datei.

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

Parameter

file
IStorageFile

Die Datei, in die das Byte geschrieben wird.

buffer

Byte[]

byte[]

Das Array der zu schreibenden Bytes.

Gibt zurück

Nach Abschluss dieser Methode wird kein Objekt oder Wert zurückgegeben.

Attribute

Gilt für: