The current query.
Contained by a project.
Created automatically by the project.
Contains a QueryBranch collection called the main branch, which contains the query's conditions (QueryLeaf objects). The main branch can also contain sub-branches (other QueryBranch collections), which contain grouped conditions (more QueryLeaf objects). Sub-branches can contain other sub-branches, and so on.
To assign a main branch to a query, use the Query.Define method. To get a query's main branch, use the Query.QueryBranch property.