DocumentCreateNodeIterator Method (Node, Int64) |
Create a new NodeIterator over the subtree rooted at the specified node.
Namespace: Aspose.Html.DomAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.5
Syntaxpublic INodeIterator CreateNodeIterator(
Node root,
long whatToShow
)
Public Function CreateNodeIterator (
root As Node,
whatToShow As Long
) As INodeIterator
public:
virtual INodeIterator^ CreateNodeIterator(
Node^ root,
long long whatToShow
) sealed
abstract CreateNodeIterator :
root : Node *
whatToShow : int64 -> INodeIterator
override CreateNodeIterator :
root : Node *
whatToShow : int64 -> INodeIterator
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. - whatToShow
- Type: SystemInt64
flag specifies which node types may appear in the logical view of the tree presented by the iterator. See the description of NodeFilter for the set of possible SHOW_ values.These flags can be combined using OR.
Return Value
Type:
INodeIteratorThe newly created NodeIterator.
Implements
IDocumentTraversalCreateNodeIterator(Node, Int64)
ExceptionsException | Condition |
---|
DOMException | NOT_SUPPORTED_ERR: Raised if the specified root is null. |
See Also