Language

ILSParserExtensions.ParseAsync(ILSParser, ILSInput) Method

Definition

Invokes Parse(ILSInput) and returns its result as a task.

public static System.Threading.Tasks.Task<Org.W3c.Dom.IDocument?> ParseAsync(this Org.W3c.Dom.LS.ILSParser self, Org.W3c.Dom.LS.ILSInput? input);
static member ParseAsync : Org.W3c.Dom.LS.ILSParser * Org.W3c.Dom.LS.ILSInput -> System.Threading.Tasks.Task<Org.W3c.Dom.IDocument>

Parameters

self
ILSParser

The parser to use.

input
ILSInput

The input source to parse.

Returns

A task that yields the document returned by Parse, or null when the parser operates asynchronously. For an asynchronous parser, task completion does not indicate that parsing has completed.

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