FileRandomAccessStream.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>
字节编写器操作。