StorageFile.OpenReadAsync Metode

Definisi

Membuka aliran akses acak melalui file saat ini untuk membaca konten file.

public:
 virtual IAsyncOperation<IRandomAccessStreamWithContentType ^> ^ OpenReadAsync() = OpenReadAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IRandomAccessStreamWithContentType> OpenReadAsync();
IAsyncOperation<IRandomAccessStreamWithContentType> OpenReadAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IRandomAccessStreamWithContentType> OpenReadAsync();
public IAsyncOperation<IRandomAccessStreamWithContentType> OpenReadAsync();
function openReadAsync()
Public Function OpenReadAsync () As IAsyncOperation(Of IRandomAccessStreamWithContentType)

Mengembalikan

Ketika metode ini selesai, metode ini mengembalikan aliran akses acak (ketik IRandomAccessStreamWithContentType).

Penerapan

Atribut

Berlaku untuk