IVsFireSolutionEvents2::FireOnQueryChangeProjectParent Method (IVsHierarchy^, IVsHierarchy^)

 

Fires a solution event, OnQueryChangeProjectParent, indicating a query about changing the parent of the project.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int FireOnQueryChangeProjectParent(
	IVsHierarchy^ pHierarchy,
	IVsHierarchy^ pNewParentHier
)

Parameters

pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] Pointer to the IVsHierarchy interface of the child project.

pNewParentHier
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] Pointer to the IVsHierarchy interface of the new parent project.

Return Value

Type: System::Int32

Returns S_FALSE if the callee vetoes the operation. Otherwise, returns S_OK.

Return to top
Show: