IVsSolutionEvents2::OnBeforeUnloadProject Method (IVsHierarchy^, IVsHierarchy^)
Visual Studio 2015
Notifies listening clients that the project is about to be unloaded.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pRealHierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] Pointer to the IVsHierarchy interface of the project that will be unloaded.
- pStubHierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] Pointer to the IVsHierarchy interface of the placeholder hierarchy for the project being unloaded.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsSolutionEvents2::OnBeforeUnloadProject( [in] IVsHierarchy *pRealHierarchy, [in] IVsHierarchy *pStubHierarchy );
Show: