SolutionEvents.IVsSolutionEvents.OnQueryCloseProject(IVsHierarchy, Int32, Int32) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Tritt auf, wenn eine Abfrage zum Schließen des Projekts vorhanden ist.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoving, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnQueryCloseProject;
int IVsSolutionEvents.OnQueryCloseProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fRemoving, ref int pfCancel);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int * int -> int
Function OnQueryCloseProject (pHierarchy As IVsHierarchy, fRemoving As Integer, ByRef pfCancel As Integer) As Integer Implements IVsSolutionEvents.OnQueryCloseProject
Parameter
- pHierarchy
- IVsHierarchy
Die Hierarchie.
- fRemoving
- Int32
true , wenn das Projekt entfernt werden soll.
- pfCancel
- Int32
true , wenn die Schließung abgebrochen wird.
Gibt zurück
Das HRESULT.