Link Search Menu Expand Document

STreeItem.ExpandAll Method

Explanation Expand and collapse the tree in bulk include all its descendants.
Call format item.ExpandAll( [ expanded ] )
Return value None
Arguments expanded If $TRUE is specified, the tree will be expanded.
If $FALSE is specified, it collapses the tree. The default is $TRUE.
Exception EXT-12 Invalid accessor
Example of use
    var foundItems = STree1.RootItem.ExpandAll();
    
Related item Expanded property