Share via


IVsSolutionEvents4.OnAfterRenameProject(IVsHierarchy) Method

Definition

Notifies listening clients that a project has been renamed.

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

Parameters

pHierarchy
IVsHierarchy

[in] Pointer to the IVsHierarchy interface of the renamed 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 IVsSolutionEvents4::OnAfterRenameProject(  
   [in] IVsHierarchy *pHierarchy  
);  

Applies to