VsShellUtilities::GetHierarchy Method (IServiceProvider^, Guid)
Visual Studio 2015
Gets the hierarchy node that is specified by the project GUID.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- site
- Type: System::IServiceProvider^
- projectGuid
-
Type:
System::Guid
The GUID of the project.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^The IVsHierarchy interface of the project.
If the project is not open, this method will catch and trace an InvalidCastException.
Show: