IParentNode Properties

The IParentNode type exposes the following members.

Properties
  NameDescription
Public propertyChildElementCount
The childElementCount attribute must return the number of children of the context object that are elements.
Public propertyChildren
Returns the child elements.
Public propertyFirstElementChild
Returns the first child that is an element, and null otherwise.
Public propertyLastElementChild
Returns the last child that is an element, and null otherwise.
Public propertyNextElementSibling
Returns the next sibling element node of this element. null if this element has no element sibling nodes that come after this one in the document tree.
(Inherited from IElementTraversal.)
Public propertyPreviousElementSibling
Returns the previous sibling element node of this element. null if this element has no element sibling nodes that come before this one in the document tree.
(Inherited from IElementTraversal.)
See Also