SolutionEvents.IVsSolutionEvents.OnBeforeUnloadProject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs on/before the project is unloaded.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnBeforeUnloadProject;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnBeforeUnloadProject;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pRealHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pStubHierarchy);
int IVsSolutionEvents.OnBeforeUnloadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pRealHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pStubHierarchy);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Function OnBeforeUnloadProject (pRealHierarchy As IVsHierarchy, pStubHierarchy As IVsHierarchy) As Integer Implements IVsSolutionEvents.OnBeforeUnloadProject
Parameters
- pRealHierarchy
- IVsHierarchy
The hierarchy while the project is loaded.
- pStubHierarchy
- IVsHierarchy
The temporary hierarchy while the project is unloaded.
Returns
The HRESULT.