Partager via


IVsPrioritizedSolutionEvents.PrioritizedOnBeforeUnloadProject Method

Definition

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.

Applies to