DocumentCreateNodeIterator Method (Node)
Create a new NodeIterator over the subtree rooted at the specified node.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.4
Syntax
public INodeIterator CreateNodeIterator(
	Node root
)

Parameters

root
Type: Aspose.Html.DomNode
node which will be iterated together with its children. The iterator is initially positioned just before this node. The whatToShow flags and the filter, if any, are not considered when setting this position. The root must not be null.

Return Value

Type: INodeIterator
The newly created NodeIterator.

Implements

IDocumentTraversalCreateNodeIterator(Node)
Exceptions
ExceptionCondition
DOMExceptionNOT_SUPPORTED_ERR: Raised if the specified root is null.
See Also