ITreeWalkerCurrentNode Property
The node at which the TreeWalker is currently positioned. Alterations to the DOM tree may cause the current node to no longer be accepted by the TreeWalker's associated filter. currentNode may also be explicitly set to any node, whether or not it is within the subtree specified by the root node or would be accepted by the filter and whatToShow flags. Further traversal occurs relative to currentNode even if it is not part of the current view, by applying the filters in the requested direction; if no traversal is possible, currentNode is not changed.

Namespace: Aspose.Html.Dom.Traversal
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.4
Syntax
Node CurrentNode { get; set; }

Property Value

Type: Node
The current node.
Exceptions
ExceptionCondition
DOMExceptionNOT_SUPPORTED_ERR: Raised if an attempt is made to set currentNode to null.
See Also