IVsFireSolutionEvents.FireOnBeforeUnloadProject(IVsHierarchy) 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.
Fires a solution event, OnBeforeUnloadProject(IVsHierarchy, IVsHierarchy), before unloading a project from a project hierarchy.
public:
int FireOnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
public:
int FireOnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
int FireOnBeforeUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy);
public int FireOnBeforeUnloadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member FireOnBeforeUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function FireOnBeforeUnloadProject (pHierarchy As IVsHierarchy) As Integer
Parameters
- pHierarchy
- IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the project being unloaded.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsFireSolutionEvents::FireOnBeforeUnloadProject(
[in] IVsHierarchy *pHierarchy
);