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 значение, если закрытие отменено.

Возвращаемое значение

Int32

HRESULT.

Реализации

Применяется к