Share via


IOutputStream Interface

Definition

Represents a sequential stream of bytes to be written.

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

Windows requirements

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

Methods

Name Description
Dispose()

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

FlushAsync()

Flushes data asynchronously in a sequential stream.

WriteAsync(IBuffer)

Writes data asynchronously in a sequential stream.

Applies to