SolutionEvents.IVsSolutionEvents.OnQueryCloseSolution(Object, Int32) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Происходит при запросе закрытия решения.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryCloseSolution(System::Object ^ pUnkReserved, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnQueryCloseSolution;
int IVsSolutionEvents.OnQueryCloseSolution (object pUnkReserved, ref int pfCancel);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryCloseSolution : obj * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryCloseSolution : obj * int -> int
Function OnQueryCloseSolution (pUnkReserved As Object, ByRef pfCancel As Integer) As Integer Implements IVsSolutionEvents.OnQueryCloseSolution
Параметры
- pUnkReserved
- Object
Зарезервировано.
- pfCancel
- Int32
true значение, если закрытие отменено.
Возвращаемое значение
HRESULT.