SolutionEvents.IVsSolutionEvents3.OnQueryCloseProject(IVsHierarchy, Int32, 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 do projeto.
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
Parâmetros
- pHierarchy
- IVsHierarchy
A hierarquia.
- fRemoving
- Int32
true Se o projeto for removido.
- pfCancel
- Int32
true se a operação for cancelada.
Retornos
O HRESULT.