共用方式為


InMemoryRandomAccessStream.WriteAsync(IBuffer) 方法

定義

以非同步方式在循序資料流程中寫入資料。

public:
 virtual IAsyncOperationWithProgress<unsigned int, unsigned int> ^ WriteAsync(IBuffer ^ buffer) = WriteAsync;
IAsyncOperationWithProgress<uint32_t, uint32_t> WriteAsync(IBuffer const& buffer);
public IAsyncOperationWithProgress<uint,uint> WriteAsync(IBuffer buffer);
function writeAsync(buffer)
Public Function WriteAsync (buffer As IBuffer) As IAsyncOperationWithProgress(Of UInteger, UInteger)

參數

buffer
IBuffer

非同步寫入器作業寫入的緩衝區。

傳回

IAsyncOperationWithProgress<UInt32,UInt32>

Windows.Foundation.IAsyncOperationWithProgress<unsigned int,unsigned int>

IAsyncOperationWithProgress<uint32_t,uint32_t>

位元組寫入器作業。

實作

適用於