Partager via


IVsFireSolutionEvents.FireOnQueryUnloadProject(IVsHierarchy) Method

Definition

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  
);  

Applies to