Open this page in the API Guide

HierarchyMemberSearchResultNode.removeAllChildren Method

Removes all children from this node.