SolutionEvents.IVsSolutionEvents4.OnQueryChangeProjectParent Method

Definition

Occurs when there is a query about changing the project's parent.

C++
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4.OnQueryChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pNewParentHier, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents4::OnQueryChangeProjectParent;

Parameters

pHierarchy
IVsHierarchy

The hierarchy.

pNewParentHier
IVsHierarchy

The new parent hierarchy.

pfCancel
Int32

true if the operation is canceled.

Returns

The HRESULT.

Implements

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022