IVsPrioritizedSolutionEvents.PrioritizedOnBeforeUnloadProject 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.
Defines a method called after OnBeforeUnloadProject(IVsHierarchy, IVsHierarchy) but before unloading the project.
public:
int PrioritizedOnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy);
public:
int PrioritizedOnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy);
int PrioritizedOnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pRealHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pStubHierarchy);
public int PrioritizedOnBeforeUnloadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pRealHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pStubHierarchy);
abstract member PrioritizedOnBeforeUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function PrioritizedOnBeforeUnloadProject (pRealHierarchy As IVsHierarchy, pStubHierarchy As IVsHierarchy) As Integer
Parameters
- pRealHierarchy
- IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the project that was loaded.
- pStubHierarchy
- IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the placeholder hierarchy for the unloaded project.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.