Edit

Share via


StorageFileHelper.ReadBytesAsync(StorageFile) Method

Definition

Gets an array of bytes from a Windows.Storage.StorageFile.

public static System.Threading.Tasks.Task<byte[]> ReadBytesAsync (this Windows.Storage.StorageFile file);
static member ReadBytesAsync : Windows.Storage.StorageFile -> System.Threading.Tasks.Task<byte[]>
<Extension()>
Public Function ReadBytesAsync (file As StorageFile) As Task(Of Byte())

Parameters

file
Windows.Storage.StorageFile

The Windows.Storage.StorageFile.

Returns

Task<Byte[]>

The stored Byte array.

Applies to