Dela via


IXmlSerializer.SetOutput Method

Definition

Overloads

SetOutput(Writer)

Set the output to the given writer.

SetOutput(Stream, String)

Set to use binary output stream with given encoding.

SetOutput(Writer)

Set the output to the given writer.

[Android.Runtime.Register("setOutput", "(Ljava/io/Writer;)V", "GetSetOutput_Ljava_io_Writer_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetOutput (Java.IO.Writer? writer);
[<Android.Runtime.Register("setOutput", "(Ljava/io/Writer;)V", "GetSetOutput_Ljava_io_Writer_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetOutput : Java.IO.Writer -> unit

Parameters

writer
Writer
Attributes

Exceptions

Remarks

Set the output to the given writer.

<b>WARNING</b> no information about encoding is available!

Java documentation for org.xmlpull.v1.XmlSerializer.setOutput(java.io.Writer).

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

SetOutput(Stream, String)

Set to use binary output stream with given encoding.

[Android.Runtime.Register("setOutput", "(Ljava/io/OutputStream;Ljava/lang/String;)V", "GetSetOutput_Ljava_io_OutputStream_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetOutput (System.IO.Stream? os, string? encoding);
[<Android.Runtime.Register("setOutput", "(Ljava/io/OutputStream;Ljava/lang/String;)V", "GetSetOutput_Ljava_io_OutputStream_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetOutput : System.IO.Stream * string -> unit

Parameters

os
Stream
encoding
String
Attributes

Exceptions

Remarks

Set to use binary output stream with given encoding.

Java documentation for org.xmlpull.v1.XmlSerializer.setOutput(java.io.OutputStream, java.lang.String).

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