Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)
'Declaration <InterfaceTypeAttribute(1)> _ <GuidAttribute("5B8C06A0-4379-4218-A046-B1DC466E5818")> _ Public Interface IVsUIHierarchyWindow2 Inherits IVsUIHierarchyWindow 'Usage Dim instance As IVsUIHierarchyWindow2
/** @attribute InterfaceTypeAttribute(1) */ /** @attribute GuidAttribute("5B8C06A0-4379-4218-A046-B1DC466E5818") */ public interface IVsUIHierarchyWindow2 extends IVsUIHierarchyWindow
This interface is implemented by the environment to display the hierarchies that are written by VSPackages for the existing hierarchy windows (Solutions Explorer, Macro Explorer, and Server Explorer). Using this interface, VSPackages call into the UI Hierarchy window to add, remove, expand, or select hierarchies in the window.
This interface can also be implemented on a custom UIHierarchy window. To instantiate your own UIHierarchy window, call QueryService on the ppWindowFrame to get the ppunkDocView, on which IUnknown::QueryInterface can be called for a pointer to the IVsUIHierarchyWindow interface.Service to get a pointer to the interface. Once you have the pointer to this interface, call (CLSID_VSUIHierarchyWindow). You can use the returned
Tool tips in a UIHierarchy window are reserved to show the full caption of the node if the caption is being clipped by the current view (i.e. the window is too narrow to show the full caption). You can not provide custom tool tips for UIHierarchy windows.
See illustrations of the implementation and/or calling of this interface in the sample.
Notes for Implementers
Implemented by the environment on the existing hierarchy windows (Solution Explorer, Macro Explorer, and Server Explorer).