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 方法。

实现

适用于

另请参阅