IParentNode class
IParentNode class
Defines the IParentNode
interface that is implemented by any possible parents.
The IParentNode type exposes the following members:
Properties
Property | Description |
---|---|
children | Returns the child elements. |
first_element_child | Returns the first child that is an element, and null otherwise. |
last_element_child | Returns the last child that is an element, and null otherwise. |
child_element_count | The childElementCount attribute must return the number of children of the context object that are elements. |
previous_element_sibling | 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. |
next_element_sibling | 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. |
Methods
Method | Description |
---|---|
query_selector | Returns the first element that is a descendant of node that matches selectors. |
query_selector_all | Returns all element descendants of node that match selectors. |
See Also
- module
aspose.html.dom
- class
IElementTraversal
- class
IParentNode