IInputStreamReference IInputStreamReference IInputStreamReference IInputStreamReference Interface

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

Syntax

Declaration

public interface IInputStreamReferencepublic interface IInputStreamReferencePublic Interface IInputStreamReferencepublic interface IInputStreamReference

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 summary

Opens a stream for sequential read access.

Methods

  • OpenSequentialReadAsync()
    OpenSequentialReadAsync()
    OpenSequentialReadAsync()
    OpenSequentialReadAsync()

    Opens a stream for sequential read access.

    public IAsyncOperation<IInputStream> OpenSequentialReadAsync()public IAsyncOperation<IInputStream> OpenSequentialReadAsync()Public Function OpenSequentialReadAsync() As IAsyncOperation( Of IInputStream )public IAsyncOperation<IInputStream> OpenSequentialReadAsync()

    Returns

    • The asynchronous operation.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.GuidAttribute

Details

Assembly

Windows.Storage.Streams.dll