API Reference
Class
HtmlCssSelectorList
A parsed comma-separated selector list whose members can match the owned DOM.
Inheritance
- Object
- HtmlCssSelectorList
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
Methods
Matches 2 overloads
public Boolean Matches(HtmlElement element) #Returns:
BooleanMatches when any selector in the list matches the element.
Parameters
- element OfficeIMO.Html.Dom.HtmlElement
public Boolean Matches(HtmlElement element, CancellationToken cancellationToken) #Returns:
BooleanMatches when any selector in the list matches, observing cancellation while traversing the tree.
Parameters
- element OfficeIMO.Html.Dom.HtmlElement
- cancellationToken System.Threading.CancellationToken