__VSCOMHIEROPTIONS Enumeration
Visual Studio 2015
Controls whether the FindCommonSelectedHierarchy can return the solution as the common hierarchy.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
| Member name | Description | |
|---|---|---|
| COMHIEROPT_AllowHiddenRoot | Okay to return Solution node hierarchy. | |
| COMHIEROPT_RootHierarchyOnly | Return project nodes only. |
When using COMHIEROPT_RootHierarchyOnly, FindCommonSelectedHierarchy only returns other hierarchies; the Solution is never returned.
In contrast, the member COMHIEROPT_AllowHiddenRoot, allows FindCommonSelectedHierarchy to return the Solution as the common hierarchy, if there is no other hierarchy common to the selected hierarchies or items.
From vsshell.idl:
Show: