다음을 통해 공유


FileInputStream.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

용량 값보다 작거나 같은 읽을 바이트 수입니다.

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)

적용 대상