Expand Minimize

__VSCOMHIEROPTIONS Enumeration

Controls whether the FindCommonSelectedHierarchy can return the solution as the common hierarchy.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public enum __VSCOMHIEROPTIONS

Member nameDescription
COMHIEROPT_AllowHiddenRootOkay to return Solution node hierarchy.
COMHIEROPT_RootHierarchyOnlyReturn 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.

COM Signature

From vsshell.idl:

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft