Dela via


IInputStreamReference Interface

Definition

Enables a Windows Runtime component to provide sequential read access to an encapsulated stream.

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
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Implement the IInputStreamReference interface when your Windows Runtime component exposes a sequential read-only stream to callers. For a random access stream, implement the IRandomAccessStreamReference interface. For info on implementing the IInputStreamReference interface, see the Remarks at IRandomAccessStreamReference.

Methods

OpenSequentialReadAsync()

Opens a stream for sequential read access.

Applies to

See also