Partilhar via


IVsSolutionEvents4.OnAfterChangeProjectParent(IVsHierarchy) Method

Definition

Notifies listening clients that a project parent has changed.

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

Parameters

pHierarchy
IVsHierarchy

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

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsSolutionEvents4::OnAfterChangeProjectParent(  
   [in] IVsHierarchy *pHierarchy  
);  

Applies to