IVsFireSolutionEvents2::FireOnAfterChangeProjectParent Method (IVsHierarchy^)

 

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

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

int FireOnAfterChangeProjectParent(
	IVsHierarchy^ pHierarchy
)

Parameters

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

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

Return Value

Type: System::Int32

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

From vsshell80.idl:

HRESULT IVsFireSolutionEvents2::FireOnAfterChangeProjectParent(
   [in] IVsHierarchy *pHierarchy
);
Return to top
Show: