ToolWindow.HasSelectableObjects 属性

,如果文档未加载,获取工具窗口禁用 selection 对象 命令。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

语法

声明
Protected Overrides ReadOnly Property HasSelectableObjects As Boolean
protected override bool HasSelectableObjects { get; }

属性值

类型:System.Boolean
true ,如果 selection 对象 命令应启用;否则, false。

备注

默认情况下,此值为 false。

.NET Framework 安全性

请参见

参考

ToolWindow 类

Microsoft.VisualStudio.Modeling.Shell 命名空间