IVsSolution2::UpdateProjectFileLocation Method (IVsHierarchy^)
Visual Studio 2015
Notifies a solution of a project file location change.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pHierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] IVsHierarchy object.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsSolution2::UpdateProjectFileLocation( [in] IVsHierarchy *pHierarchy );
Tells the solution to update the internal file names it is keeping for a project—particularly the file name that is being monitored for file change notifications. This is used, for example, when a Web project is taken off-line so the solution knows to update the file name and watch the local file name rather than the Web file name.
Show: