共用方式為


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

包含進度更新的非同步作業。 如需詳細資訊,請參閱 WriteAsync 方法。

實作

適用於

另請參閱