SolutionEvents.IVsSolutionEvents2.OnQueryCloseSolution(Object, Int32) 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 solution.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnQueryCloseSolution(System::Object ^ pUnkReserved, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnQueryCloseSolution;
int IVsSolutionEvents2.OnQueryCloseSolution (object pUnkReserved, ref int pfCancel);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnQueryCloseSolution : obj * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnQueryCloseSolution : obj * int -> int
Function OnQueryCloseSolution (pUnkReserved As Object, ByRef pfCancel As Integer) As Integer Implements IVsSolutionEvents2.OnQueryCloseSolution
Parameters
- pUnkReserved
- Object
Reserved.
- pfCancel
- Int32
true
if the operation is canceled.
Returns
The HRESULT.