IVsFireSolutionEvents2.FireOnQueryChangeProjectParent Method

Definition

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.

Applies to