共用方式為


ModelingEditorFactory.OnQueryCloseProject(IVsHierarchy, Int32, Int32) Method

Definition

IVsSolutionEvents.OnQueryCloseProject

public:
 virtual int OnQueryCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoving, int % pfCancel);
public int OnQueryCloseProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fRemoving, ref int pfCancel);
abstract member OnQueryCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int * int -> int
override this.OnQueryCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int * int -> int
Public Function OnQueryCloseProject (pHierarchy As IVsHierarchy, fRemoving As Integer, ByRef pfCancel As Integer) As Integer

Parameters

pHierarchy
IVsHierarchy
fRemoving
Int32
pfCancel
Int32

Returns

Implements

Applies to