Udostępnij za pośrednictwem


IInputStream Interface

Definition

Represents a sequential stream of bytes to be read.

public interface class IInputStream : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2421821410, 48211, 4575, 140, 73, 0, 30, 79, 198, 134, 218)]
struct IInputStream : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2421821410, 48211, 4575, 140, 73, 0, 30, 79, 198, 134, 218)]
public interface IInputStream : System.IDisposable
Public Interface IInputStream
Implements IDisposable
Derived
Attributes
Implements

Windows requirements

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

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ReadAsync(IBuffer, UInt32, InputStreamOptions)

Reads data from the stream asynchronously.

Applies to