Share via


Formatter.Flush Method

Definition

Flushes this formatter.

[Android.Runtime.Register("flush", "()V", "")]
public void Flush ();
[<Android.Runtime.Register("flush", "()V", "")>]
abstract member Flush : unit -> unit
override this.Flush : unit -> unit

Implements

Attributes

Exceptions

if the Formatter has been closed.

Remarks

Flushes this formatter. If the destination implements the java.io.Flushable interface, its flush method will be invoked.

Flushing a formatter writes any buffered output in the destination to the underlying stream.

Java documentation for java.util.Formatter.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