IOutputStream IOutputStream IOutputStream IOutputStream IOutputStream Interface

Definition

Represents a sequential stream of bytes to be written.

public : interface IOutputStream : IClosable
struct winrt::Windows::Storage::Streams::IOutputStream : IClosable
public interface IOutputStream : IDisposable
Public Interface IOutputStream Implements IDisposable
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Inheritance
IDisposableIDisposableIDisposable
IOutputStreamIOutputStreamIOutputStreamIOutputStreamIOutputStream
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

Close Close Close Close Close

Releases system resources that are exposed by a Windows Runtime object.

.NET This interface appears as System.IDisposable.

C++/CX This interface appears as Platform::IDisposable.

(Inherited from IClosable)
FlushAsync() FlushAsync() FlushAsync() FlushAsync() FlushAsync()

Flushes data asynchronously in a sequential stream.

WriteAsync(IBuffer) WriteAsync(IBuffer) WriteAsync(IBuffer) WriteAsync(IBuffer) WriteAsync(IBuffer)

Writes data asynchronously in a sequential stream.