IVsFireSolutionEvents2.FireOnQueryChangeProjectParent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fires a solution event, OnQueryChangeProjectParent(IVsHierarchy, IVsHierarchy, Int32), indicating a query about changing the parent of the project.
public:
int FireOnQueryChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pNewParentHier);
public:
int FireOnQueryChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pNewParentHier);
int FireOnQueryChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pNewParentHier);
public int FireOnQueryChangeProjectParent (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pNewParentHier);
abstract member FireOnQueryChangeProjectParent : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function FireOnQueryChangeProjectParent (pHierarchy As IVsHierarchy, pNewParentHier As IVsHierarchy) As Integer
Parameters
- pHierarchy
- IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the child project.
- pNewParentHier
- IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the new parent project.
Returns
Returns S_FALSE if the callee vetoes the operation. Otherwise, returns S_OK.