SolutionEvents.IVsSolutionEvents2.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.IVsSolutionEvents2.OnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnBeforeUnloadProject;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnBeforeUnloadProject;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pRealHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pStubHierarchy);
int IVsSolutionEvents2.OnBeforeUnloadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pRealHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pStubHierarchy);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Function OnBeforeUnloadProject (pRealHierarchy As IVsHierarchy, pStubHierarchy As IVsHierarchy) As Integer Implements IVsSolutionEvents2.OnBeforeUnloadProject
Parameters
- pRealHierarchy
- IVsHierarchy
The hierarchy used while the project is loaded.
- pStubHierarchy
- IVsHierarchy
The hierarchy used while the project is unloaded.
Returns
The HRESULT.