Aracılığıyla paylaş


IXmlSerializer.StartDocument(String, Boolean) Method

Definition

Write <?xml declaration with encoding (if encoding not null) and standalone flag (if standalone not null) This method can only be called just after setOutput.

[Android.Runtime.Register("startDocument", "(Ljava/lang/String;Ljava/lang/Boolean;)V", "GetStartDocument_Ljava_lang_String_Ljava_lang_Boolean_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void StartDocument (string? encoding, Java.Lang.Boolean? standalone);
[<Android.Runtime.Register("startDocument", "(Ljava/lang/String;Ljava/lang/Boolean;)V", "GetStartDocument_Ljava_lang_String_Ljava_lang_Boolean_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member StartDocument : string * Java.Lang.Boolean -> unit

Parameters

encoding
String
standalone
Boolean
Attributes

Exceptions

Remarks

Write &lt;&#63;xml declaration with encoding (if encoding not null) and standalone flag (if standalone not null) This method can only be called just after setOutput.

Java documentation for org.xmlpull.v1.XmlSerializer.startDocument(java.lang.String, java.lang.Boolean).

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