IInputStreamReference IInputStreamReference IInputStreamReference IInputStreamReference Interface

Definition

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

public : interface IInputStreamReference
public interface IInputStreamReference
Public Interface IInputStreamReference
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
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 )
var iAsyncOperation = iInputStreamReference.openSequentialReadAsync();
Returns