NodeParentElement Property

The read-only parentElement property of Node interface returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element.

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

Property Value

Type: Element

An Element that is the parent element of the current node, or null if there isn't one.

Return Value

Type: Element


See Also