Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDOMNodeIterator interface

Provides an object that can be used to traverse filtered lists of nodes or elements by using a flat, logical representation of the document structure. The IDOMNodeIterator is dynamic, reflecting the state of the document as it is edited or changed.

Members

The IDOMNodeIterator interface inherits from the IDispatch interface. IDOMNodeIterator also has these types of members:

Methods

The IDOMNodeIterator interface has these methods.

MethodDescription
detach

Removes or detaches an object and associated resources.

nextNode

Returns the next node in the NodeIterator or TreeWalker list and updates IDOMTreeWalker::currentNode.

previousNode

Returns the previous node in the NodeIterator or TreeWalker list and updates IDOMTreeWalker::currentNode.

 

Properties

The IDOMNodeIterator interface has these properties.

PropertyDescription

expandEntityReferences

Flag to specify whether or not the children of entity reference nodes are visible.

filter

Gets the function object that the iterator uses to filter nodes that go into TreeWalker hierarchies or NodeIterator lists.

root

Gets the root node that was specified when the object was created.

whatToShow

Gets which node types are presented through the iterator. Nodes that are not accepted are skipped, but their children are still considered.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

Show:
© 2014 Microsoft