IVsUIHierarchyWindow2::RemoveUIHierarchy Method (IVsUIHierarchy^)
Visual Studio 2015
Removes a root UI hierarchy node from the UI hierarchy window.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pUIH
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsUIHierarchy^
[in] IVsUIHierarchy interface representing the UI hierarchy node to remove.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Use this method to remove a hierarchy from the hierarchy window when, for example, a project is deleted from a Solution. To add a UI hierarchy to the hierarchy window, use the AddUIHierarchy method.
Show: