Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Interface

IHtmlParserProvider

Namespace OfficeIMO.Html.Dom
Assembly OfficeIMO.Html.Core
Modifiers abstract

Parses inert HTML into an owned document. Implementations must perform no resource loading or script execution.

Methods

public abstract HtmlDocument Parse(String source, HtmlParseOptions options, CancellationToken cancellationToken = default) #
Returns: HtmlDocument

Parses a complete document and returns an immutable snapshot.

Parameters

source System.String requiredposition: 0
options OfficeIMO.Html.Dom.HtmlParseOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2

Properties

public abstract String Id { get; } #

Identifies the parser implementation for diagnostics and reproducibility.