Node.ParentNode

Node.ParentNode property

The parent of this node. All nodes, except Attr, Document, DocumentFragment, Entity, and Notation may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, this is null.

public Node ParentNode { get; }

See Also