IVsFireSolutionEvents::FireOnQueryCloseProject Method (IVsHierarchy^, Int32)
Visual Studio 2015
Fires a solution event, OnQueryCloseProject, indicating a query about closing the project.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pHierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] Pointer to the IVsHierarchy interface of the project being closed.
- fRemoving
-
Type:
System::Int32
[in] Boolean. Set to true if the project is being removed from the solution before the solution is closed. Set to false if the project is being removed from the solution while the solution is being closed.
Return Value
Type: System::Int32Returns S_FALSE if the callee vetoes the operation. Otherwise, returns S_OK.
From vsshell.idl:
HRESULT IVsFireSolutionEvents::FireOnQueryCloseProject( [in] IVsHierarchy *pHierarchy, [in] BOOL fRemoving );
Show: