IVsSolution6::SetProjectParent Method (IVsHierarchy^, IVsHierarchy^)
Visual Studio 2015
Sets the parent of the project. The solution considers pProject to be a child (in a nested hierarchy) of pParent, and it does not enumerate it in the solution hierarchy. The pParent hierarchy is responsible for adding a visual representation of this project in Solution Explorer. pParent is expected to implement IVsParentProject3, otherwise this method does nothing.
Assembly: Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)
Parameters
- pProject
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
The IVsHierarchy element of the project.
- pParent
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
The IVsHierarchy element of the project's parent.
Show: