UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
Collapse Method (ITreeViewNode)
Hides sub-nodes of this node in the expanded tree-view control.
Syntax
void Collapse()