IVsFireSolutionEvents::FireOnQueryUnloadProject Method (IVsHierarchy^)

 

Fires a solution event, OnQueryUnloadProject, indicating a query about unloading the project.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int FireOnQueryUnloadProject(
	IVsHierarchy^ pHierarchy
)

Parameters

pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] Pointer to the IVsHierarchy interface of the project being unloaded.

Return Value

Type: System::Int32

Returns S_FALSE if the callee vetoes the operation. Otherwise, returns S_OK.

From vsshell.idl:

HRESULT IVsFireSolutionEvents::FireOnQueryUnloadProject(
   [in] IVsHierarchy *pHierarchy
);
Return to top
Show: