IInputStream 介面

定義

表示要讀取之位元組的循序資料流程。

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

Windows 需求

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

方法

Dispose()

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

ReadAsync(IBuffer, UInt32, InputStreamOptions)

以非同步方式從資料流程讀取資料。

適用於