Method FindBookmark
FindBookmark(DomNode, string)
Finds a bookmark by name. Names are compared ordinally, as the format defines them.
public static BookmarkReference? FindBookmark(this DomNode root, string name)
Parameters
Returns
- BookmarkReference
The bookmark, or null when it is not defined or its end marker is missing.
Exceptions
- ArgumentNullException
An argument is null.