SelectionState.IsCommandToBeFilteredOutForSingleSelection 方法

如果不应启用此选择状态下的指定命令,使为 true。 为强制选择计算方法。

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

语法

声明
Protected Overridable Function IsCommandToBeFilteredOutForSingleSelection ( _
    command As CommandID _
) As Boolean
protected virtual bool IsCommandToBeFilteredOutForSingleSelection(
    CommandID command
)

参数

返回值

类型:System.Boolean

.NET Framework 安全性

请参阅

参考

SelectionState 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间