NodeChildNodes Property

The read-only childNodes property of the Node interface returns a live NodeList of child nodes of the given element where the first child node is assigned index 0. Child nodes include elements, text and comments.

Note: The NodeList being live means that its content is changed each time new children are added or removed.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.1
public NodeList ChildNodes { get; }

Property Value

Type: NodeList

A live NodeList containing the children of the node.

Note: Several calls to childNodes return the same NodeList.

Return Value

Type: NodeList


See Also