Share via


IFlushable.Flush Method

Definition

Flushes this stream by writing any buffered output to the underlying stream.

[Android.Runtime.Register("flush", "()V", "GetFlushHandler:Java.IO.IFlushableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Flush ();
[<Android.Runtime.Register("flush", "()V", "GetFlushHandler:Java.IO.IFlushableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Flush : unit -> unit
Attributes

Exceptions

if there are any issues writing the data.

Remarks

Flushes this stream by writing any buffered output to the underlying stream.

Java documentation for java.io.Flushable.flush().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to