共用方式為


SelectionState.IdentifyCommandsToBeFilteredOutForSingleSelection 方法

覆寫以識別在單一選取案例中,此選取狀態的無效命令。

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

語法

'宣告
Protected Overridable Sub IdentifyCommandsToBeFilteredOutForSingleSelection ( _
    invalidCommands As CommandIdCollection _
)
protected virtual void IdentifyCommandsToBeFilteredOutForSingleSelection(
    CommandIdCollection invalidCommands
)

參數

.NET Framework 安全性

請參閱

參考

SelectionState 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間