FileIO.WriteBytesAsync(IStorageFile, Byte[]) FileIO.WriteBytesAsync(IStorageFile, Byte[]) FileIO.WriteBytesAsync(IStorageFile, Byte[]) FileIO.WriteBytesAsync(IStorageFile, Byte[]) FileIO.WriteBytesAsync(IStorageFile, Byte[]) Method

Definition

Writes an array of bytes of data to the specified file.

public : static IAsyncAction WriteBytesAsync(IStorageFile file, Byte[] buffer)
static IAsyncAction WriteBytesAsync(IStorageFile file, Byte[] buffer) const;
public static IAsyncAction WriteBytesAsync(IStorageFile file, Byte[] buffer)
Public Shared Function WriteBytesAsync(file As IStorageFile, buffer As Byte[]) As IAsyncAction
Windows.Storage.FileIO.writeBytesAsync(file, buffer).done( /* Your success and error handlers */ );
Parameters
file
IStorageFile IStorageFile IStorageFile

The file that the byte is written to.

buffer
Byte[] Byte[] Byte[]

The array of bytes to write.

Returns

No object or value is returned when this method completes.