IXmlSerializer.Flush Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write all pending output to the stream.
[Android.Runtime.Register("flush", "()V", "GetFlushHandler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Flush ();
[<Android.Runtime.Register("flush", "()V", "GetFlushHandler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Flush : unit -> unit
- Attributes
Exceptions
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.
<b>NOTE:</b> 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("")).
Java documentation for org.xmlpull.v1.XmlSerializer.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.