Org.XmlPull.V1.IXmlSerializer.Flush Method
Write all pending output to the stream.

Syntax

[Android.Runtime.Register("flush", "()V", "GetFlushHandler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Flush ()

Exceptions

TypeReason
Java.IO.IOException

Remarks

Write all pending output to the stream. If method startTag() or attribute() was called then start tag is closed (final >) before flush() is called on underlying output stream.

NOTE: if there is need to close start tag (so no more attribute() calls are allowed) but without flushing output call method text() with empty string (text("")).

[Android Documentation]

Requirements

Namespace: Org.XmlPull.V1
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1