IXmlSerializer.StartDocument(String, Boolean) 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 <?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
The encoding name for the XML declaration, or null if this call supplies no name. The serializer can use the encoding already set for its output.
- standalone
- Boolean
The standalone flag to include in the XML declaration, or null to omit it.
- Attributes
Exceptions
Remarks
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.
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.