Share via


TreeComparer<TNode>.GetDescendants(TNode) Method

Definition

Enumerates all descendant nodes of the given node in depth-first prefix order.

protected public:
 abstract System::Collections::Generic::IEnumerable<TNode> ^ GetDescendants(TNode node);
protected internal abstract System.Collections.Generic.IEnumerable<TNode> GetDescendants (TNode node);
abstract member GetDescendants : 'Node -> seq<'Node>
Protected Friend MustOverride Function GetDescendants (node As TNode) As IEnumerable(Of TNode)

Parameters

node
TNode

Returns

IEnumerable<TNode>

Applies to