Skip to main content

TdxBreadcrumbEditNode.FindNode(string,TdxBreadcrumbEditNode) Method

Searches for a child node.

Declaration

function FindNode(const AName: string; out ANode: TdxBreadcrumbEditNode): Boolean;

Parameters

Name Type
AName string
ANode TdxBreadcrumbEditNode

Returns

Type
Boolean

Remarks

This function searches the current node’s child collection for a node with a specified name (a DisplayName or Name property value). To accomplish this, the FindNode function iterates through the children and calls their Compare function with AName passed as its parameter. If the matching node is found, the FindNode function returns this node and True as the ANode parameter and the function’s result, respectively.

See Also