How to use GetChildren()?

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 470
100 Answers 250 Likes 100 Comments Second Anniversary
✭✭✭✭
edited June 2023 in Structures

How to use GetChildren()?

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 470
    100 Answers 250 Likes 100 Comments Second Anniversary
    ✭✭✭✭
    Answer ✓

    The methond GetChildren is often helpful for filtering and grouping DataModelObjects. It takes the Enum - DataModelObjectCategory as a first argument and a boolean as a second argument to switch on recursive search (sub-folders etc.)

    solution.GetChildren(DataModelObjectCategory.TreeGroupingFolder, True)