SolutionEvents.IVsSolutionEvents3.OnQueryCloseSolution(Object, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsqu’il existe une requête sur la fermeture de la solution.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnQueryCloseSolution(System::Object ^ pUnkReserved, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents3::OnQueryCloseSolution;
int IVsSolutionEvents3.OnQueryCloseSolution (object pUnkReserved, ref int pfCancel);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnQueryCloseSolution : obj * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnQueryCloseSolution : obj * int -> int
Function OnQueryCloseSolution (pUnkReserved As Object, ByRef pfCancel As Integer) As Integer Implements IVsSolutionEvents3.OnQueryCloseSolution
Paramètres
- pUnkReserved
- Object
Réservé.
- pfCancel
- Int32
true Si l’opération est annulée.
Retours
HRESULT.