IInputStreamReference IInputStreamReference IInputStreamReference IInputStreamReference Interface

Definition

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

public : interface IInputStreamReferencepublic interface IInputStreamReferencePublic Interface IInputStreamReference// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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() 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 )// You can use this method in JavaScript.
Returns