RandomAccessStreamOverStream.WriteAsync(IBuffer) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以非同步方式在循序資料流程中寫入資料。
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
非同步寫入器作業寫入的緩衝區。
傳回
Windows.Foundation.IAsyncOperationWithProgress<unsigned int,unsigned int>
IAsyncOperationWithProgress<uint32_t,uint32_t>
位元組寫入器作業。