Language

ILSSerializerExtensions.WriteAsync(ILSSerializer, INode, ILSOutput) Method

Definition

Asynchronously serializes a DOM node to an output destination.

public static System.Threading.Tasks.Task<bool> WriteAsync(this Org.W3c.Dom.LS.ILSSerializer self, Org.W3c.Dom.INode? nodeArg, Org.W3c.Dom.LS.ILSOutput? destination);
static member WriteAsync : Org.W3c.Dom.LS.ILSSerializer * Org.W3c.Dom.INode * Org.W3c.Dom.LS.ILSOutput -> System.Threading.Tasks.Task<bool>

Parameters

self
ILSSerializer

The serializer to use.

nodeArg
INode

The node to serialize.

destination
ILSOutput

The destination for the serialized XML.

Returns

A task that represents the serialization operation and yields whether serialization succeeded.

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.

Applies to