次の方法で共有


SolutionEvents.IVsSolutionEvents2.OnQueryUnloadProject Method

Definition

Occurs when there is a query about unloading the project.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnQueryUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnQueryUnloadProject;
int IVsSolutionEvents2.OnQueryUnloadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pRealHierarchy, ref int pfCancel);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnQueryUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnQueryUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Function OnQueryUnloadProject (pRealHierarchy As IVsHierarchy, ByRef pfCancel As Integer) As Integer Implements IVsSolutionEvents2.OnQueryUnloadProject

Parameters

pRealHierarchy
IVsHierarchy

The hierarchy used while the project is open.

pfCancel
Int32

true if the operation is canceled.

Returns

The HRESULT.

Implements

Applies to