Language

ILSParserExtensions.ParseURIAsync(ILSParser, String) Method

Definition

Invokes ParseURI(String) and returns its result as a task.

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

Parameters

self
ILSParser

The parser to use.

uri
String

The URI of the XML document to parse.

Returns

A task that yields the document returned by ParseURI, 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