SolutionEvents.IVsSolutionEvents.OnQueryCloseSolution(Object, Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Ocorre quando há uma consulta sobre o fechamento da solução.
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
Parâmetros
- pUnkReserved
- Object
Reservado.
- pfCancel
- Int32
true Se o fechamento for cancelado.
Retornos
O HRESULT.