共用方式為


CommandSetLibrary.IsAnyDocumentSelectionCompartment 方法

如果有的話,則為 true 的選取範圍中的項目清單是區間。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Protected Function IsAnyDocumentSelectionCompartment As Boolean
protected bool IsAnyDocumentSelectionCompartment()

傳回值

型別:System.Boolean
如果為 true,至少其中一個項目是區間。

.NET Framework 安全性

請參閱

參考

CommandSetLibrary 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間