FlavoredProject.IVsHierarchy.QueryClose(Int32) 方法

定义

确定是否可以关闭层次结构。

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.QueryClose([Runtime::InteropServices::Out] int % canClose) = Microsoft::VisualStudio::Shell::Interop::IVsHierarchy::QueryClose;
int Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.QueryClose([Runtime::InteropServices::Out] int & canClose);
int IVsHierarchy.QueryClose (out int canClose);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.QueryClose : int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.QueryClose : int -> int
Function QueryClose (ByRef canClose As Integer) As Integer Implements IVsHierarchy.QueryClose

参数

canClose
Int32

true 如果层次结构可关闭,则返回; 否则返回 false

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

注解

此方法调用 QueryClose 方法,该方法调用 QueryClose 内部项目的方法。

适用于