Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Interface

IHtmlDomServices

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

Replaceable syntax services used by an owned document without exposing provider nodes.

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Methods

public abstract Boolean Matches(HtmlElement element, String selector) #
Returns: Boolean

Tests one element against a selector.

Parameters

element OfficeIMO.Html.Dom.HtmlElement requiredposition: 0
selector System.String requiredposition: 1
public abstract IReadOnlyList<HtmlElement> QuerySelectorAll(HtmlNode scope, String selector) #
Returns: IReadOnlyList<HtmlElement>

Returns matching descendant elements in document order, using the supplied scope.

Parameters

scope OfficeIMO.Html.Dom.HtmlNode requiredposition: 0
selector System.String requiredposition: 1
public abstract String Serialize(HtmlNode node, Boolean childrenOnly = false) #
Returns: String

Serializes a node or its children as HTML without executing or loading content.

Parameters

node OfficeIMO.Html.Dom.HtmlNode requiredposition: 0
childrenOnly System.Boolean = false optionalposition: 1