IElementTraversal interface

TBD.

Members

The IElementTraversal interface inherits from the IUnknown interface. IElementTraversal also has these types of members:

  • Properties

Properties

The IElementTraversal interface has these properties.

Property Description

childElementCount

Retrieves the number of immediate child nodes of the current element or a zero if the element does not contain any child nodes. childElementCount does not return all child nodes, only child nodes that are nodeType =1, or element nodes.

firstElementChild

Retrieves a reference to the first child element, or NULL if there are no child elements.

lastElementChild

Retrieves a reference to the last child element or NULL if there are no child elements.

nextElementSibling

Retrieves a reference to the sibling element that immediately follows or NULL if the element does not have any sibling elements that follow it.

previousElementSibling

Retrieves a reference to the immediately preceding sibling element or NULL if the element does not have any preceding siblings.

 

 

 

Send comments about this topic to Microsoft

Build date: 1/26/2012