Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

Close

abstract virtual func Close() -> ()

Declaring type: OutputStream
Module: System.IO
Assembly: System.Runtime.dll
Source file: OutputStream.rvn

Defined by OutputStream.Close · Required implementation (no default).

Interface implementation: Required implementation (no default).

Closes this stream; repeated closure has no additional effect.

Return value

()

Remarks

Close is disposal, not an awaited flush or TLS shutdown.