Show / Hide Table of Contents

Method TreeBase-1.IsDescendantOf(+ 1 overload)


Overload

Returns true if this node is a descendant of node n.

public bool IsDescendantOf(T n)
Parameters
n  (T)

Can be null.

Returns
bool

Overload(top)

Returns true if this node is a descendant of nearest ancestor node for which predicate returns true.

public bool IsDescendantOf(Func<T, bool> predicate)
Parameters
predicate  (Func<T, bool>)
Returns
bool