SolutionEvents.IVsSolutionEvents4.OnQueryChangeProjectParent(IVsHierarchy, IVsHierarchy, Int32) Methode

Definition

Tritt auf, wenn eine Abfrage zum Ändern des übergeordneten Elements des Projekts vorliegt.

 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;
int IVsSolutionEvents4.OnQueryChangeProjectParent (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pNewParentHier, ref int pfCancel);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4.OnQueryChangeProjectParent : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4.OnQueryChangeProjectParent : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Function OnQueryChangeProjectParent (pHierarchy As IVsHierarchy, pNewParentHier As IVsHierarchy, ByRef pfCancel As Integer) As Integer Implements IVsSolutionEvents4.OnQueryChangeProjectParent

Parameter

pHierarchy
IVsHierarchy

Die Hierarchie.

pNewParentHier
IVsHierarchy

Die neue übergeordnete Hierarchie.

pfCancel
Int32

true , wenn der Vorgang abgebrochen wird.

Gibt zurück

Int32

Das HRESULT.

Implementiert

Gilt für