Method FindBookmarks
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
rootDomNodeThe document or subtree to search.
Returns
- IReadOnlyList<BookmarkReference>
The bookmarks.
Exceptions
- ArgumentNullException
rootis null.