IOutputStream 介面

定義

表示要寫入之位元組的循序資料流程。

public interface class IOutputStream : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2421821414, 48211, 4575, 140, 73, 0, 30, 79, 198, 134, 218)]
struct IOutputStream : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2421821414, 48211, 4575, 140, 73, 0, 30, 79, 198, 134, 218)]
public interface IOutputStream : System.IDisposable
Public Interface IOutputStream
Implements IDisposable
衍生
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

方法

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

FlushAsync()

在循序資料流程中以非同步方式排清資料。

WriteAsync(IBuffer)

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

適用於