Share via


IVsFireSolutionEvents2.FireOnAfterRenameProject(IVsHierarchy) Method

Definition

Fires a solution event, OnAfterRenameProject(IVsHierarchy), after renaming a project in the project hierarchy.

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

Parameters

pHierarchy
IVsHierarchy

[In] Pointer to the renamed project's IVsHierarchy interface.

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::FireOnAfterRenameProject(  
   [in] IVsHierarchy *pHierarchy  
);  

Applies to