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