IVsFireSolutionEvents.FireOnQueryUnloadProject(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, OnQueryUnloadProject(IVsHierarchy, Int32), indicating a query about unloading the project.
public:
int FireOnQueryUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
public:
int FireOnQueryUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
int FireOnQueryUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy);
public int FireOnQueryUnloadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member FireOnQueryUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function FireOnQueryUnloadProject (pHierarchy As IVsHierarchy) As Integer
Parameters
- pHierarchy
- IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the project being unloaded.
Returns
Returns S_FALSE if the callee vetoes the operation. Otherwise, returns S_OK.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsFireSolutionEvents::FireOnQueryUnloadProject(
[in] IVsHierarchy *pHierarchy
);