IXmlSerializerExtensions.StartDocumentAsync 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.
Runs StartDocument(String, Boolean) on the thread pool.
public static System.Threading.Tasks.Task StartDocumentAsync(this Org.XmlPull.V1.IXmlSerializer self, string? encoding, Java.Lang.Boolean? standalone);
static member StartDocumentAsync : Org.XmlPull.V1.IXmlSerializer * string * Java.Lang.Boolean -> System.Threading.Tasks.Task
Parameters
- self
- IXmlSerializer
The serializer immediately after its output has been set.
- 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.
Returns
A task that completes when the synchronous XML declaration write finishes.
Remarks
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.