Language

OutputStreamInvoker.Close Method

Definition

Closes or disposes the underlying Java output stream.

public override void Close();
override this.Close : unit -> unit

Remarks

In .NET for Android 8, this method calls Close on the Java stream. In .NET for Android 9 through 11, it disposes the wrapper. In those versions, if the Java stream is non-null, disposal calls its Close method when its JNI peer reference is valid, then calls its Dispose method.

Applies to