Skip to content

Node<TNode>.Ancestors Property ​

Definition ​

Lazily enumerates over the ancestors of this node, that is, the Parent, grandparent, great-grandparent and all remaining ancestors up to the root node.

c#
public IEnumerable<TNode> Ancestors { get; }

Property Value ​

IEnumerable<TNode>