Share via


TreeComparer<TNode>.TiedToAncestor(Int32) Method

Definition

Returns N > 0 if the node with specified label can't change its N-th ancestor node, zero otherwise.

protected public:
 abstract int TiedToAncestor(int label);
protected internal abstract int TiedToAncestor (int label);
abstract member TiedToAncestor : int -> int
Protected Friend MustOverride Function TiedToAncestor (label As Integer) As Integer

Parameters

label
Int32

Returns

Remarks

1st ancestor is the node's parent node. 2nd ancestor is the node's grandparent node. etc.

Applies to