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