FlavoredProject.IVsHierarchy.QueryClose(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定是否可以关闭层次结构。
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 。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
实现
注解
此方法调用 QueryClose 方法,该方法调用 QueryClose 内部项目的方法。