Table of Contents

Method FindBookmarks

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

FindBookmarks(DomNode)

Returns every complete bookmark in a subtree, in the order their start markers appear. A start marker with no matching end is skipped: it spans nothing that can be edited.

public static IReadOnlyList<BookmarkReference> FindBookmarks(this DomNode root)

Parameters

root DomNode

The document or subtree to search.

Returns

IReadOnlyList<BookmarkReference>

The bookmarks.

Exceptions

ArgumentNullException

root is null.