IInputStreamReference 介面

定義

可讓Windows 執行階段元件提供封裝資料流程的循序讀取權限。

public interface class IInputStreamReference
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1133681944, 24265, 19290, 145, 156, 66, 5, 176, 200, 4, 182)]
struct IInputStreamReference
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1133681944, 24265, 19290, 145, 156, 66, 5, 176, 200, 4, 182)]
public interface IInputStreamReference
Public Interface IInputStreamReference
衍生
屬性

Windows 需求

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

備註

當您的Windows 執行階段元件向呼叫端公開循序唯讀資料流程時,請實作 IInputStreamReference 介面。 針對隨機存取資料流程,實作 IRandomAccessStreamReference 介面。 如需實作 IInputStreamReference 介面的詳細資訊,請參閱 IRandomAccessStreamReference的。

方法

OpenSequentialReadAsync()

開啟資料流程以進行循序讀取存取。

適用於

另請參閱