IParentNode Interface
Defines the IParentNode interface that is implemented by any possible parents.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
public interface IParentNode : IElementTraversal

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.)
Methods
  NameDescription
Public methodQuerySelector
Returns the first element that is a descendant of node that matches selectors.
Public methodQuerySelectorAll
Returns all element descendants of node that match selectors.
See Also