次の方法で共有


FileRandomAccessStream.ReadAsync(IBuffer, UInt32, InputStreamOptions) メソッド

定義

非同期バイト リーダー オブジェクトを返します。

public:
 virtual IAsyncOperationWithProgress<IBuffer ^, unsigned int> ^ ReadAsync(IBuffer ^ buffer, unsigned int count, InputStreamOptions options) = ReadAsync;
IAsyncOperationWithProgress<IBuffer, uint32_t> ReadAsync(IBuffer const& buffer, uint32_t const& count, InputStreamOptions const& options);
public IAsyncOperationWithProgress<IBuffer,uint> ReadAsync(IBuffer buffer, uint count, InputStreamOptions options);
function readAsync(buffer, count, options)
Public Function ReadAsync (buffer As IBuffer, count As UInteger, options As InputStreamOptions) As IAsyncOperationWithProgress(Of IBuffer, UInteger)

パラメーター

buffer
IBuffer

非同期読み取り操作で読み取られたバイトを格納するバッファー。

count
UInt32

unsigned int

uint32_t

Capacity 値以下の読み取りバイト数。

options
InputStreamOptions

非同期読み取り操作の種類を指定します。

戻り値

IAsyncOperationWithProgress<IBuffer,UInt32>

Windows.Foundation.IAsyncOperationWithProgress<Windows.Storage.Streams.IBuffer,unsigned int>

IAsyncOperationWithProgress<IBuffer,uint32_t>

非同期操作。

実装

M:Windows.Storage.Streams.IInputStream.ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions) M:Windows.Storage.Streams.IInputStream.ReadAsync(Windows.Storage.Streams.IBuffer,unsigned int,Windows.Storage.Streams.InputStreamOptions) M:Windows.Storage.Streams.IInputStream.ReadAsync(Windows.Storage.Streams.IBuffer,uint32_t,Windows.Storage.Streams.InputStreamOptions)

適用対象