Share via


IVsFireSolutionEvents2.FireOnAfterChangeProjectParent(IVsHierarchy) Method

Definition

Fires a solution event, OnAfterChangeProjectParent(IVsHierarchy), after the parent project of a child project changes.

public:
 int FireOnAfterChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
public:
 int FireOnAfterChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
int FireOnAfterChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy);
public int FireOnAfterChangeProjectParent (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member FireOnAfterChangeProjectParent : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function FireOnAfterChangeProjectParent (pHierarchy As IVsHierarchy) As Integer

Parameters

pHierarchy
IVsHierarchy

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsFireSolutionEvents2::FireOnAfterChangeProjectParent(  
   [in] IVsHierarchy *pHierarchy  
);  

Applies to