SolutionEvents.IVsSolutionEvents3.OnQueryCloseProject 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.
Occurs when there is a query about closing the project.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnQueryCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoving, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents3::OnQueryCloseProject;
int IVsSolutionEvents3.OnQueryCloseProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fRemoving, ref int pfCancel);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnQueryCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnQueryCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int * int -> int
Function OnQueryCloseProject (pHierarchy As IVsHierarchy, fRemoving As Integer, ByRef pfCancel As Integer) As Integer Implements IVsSolutionEvents3.OnQueryCloseProject
Parameters
- pHierarchy
- IVsHierarchy
The hierarchy.
- fRemoving
- Int32
true
if the project is to be removed.
- pfCancel
- Int32
true
if the operation is canceled.
Returns
The HRESULT.