null if no
match is found.
Finds the first node in a CDM tree matching a predicate.
Performs a depth-first traversal and returns the first node for which the predicate returns true.
root | The root node to search from. |
pred | A predicate delegate that accepts a ref CdmNode and returns true for matching nodes. |
null if no
match is found.