GeneralDiagramSelectionRules.GetCompliantSelection 方法

调用该设计图面允许选择筛选

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

语法

声明
Public Overrides Function GetCompliantSelection ( _
    currentSelection As SelectedShapesCollection, _
    proposedItemsToAdd As DiagramItemCollection, _
    proposedItemsToRemove As DiagramItemCollection, _
    primaryItem As DiagramItem _
) As Boolean
public override bool GetCompliantSelection(
    SelectedShapesCollection currentSelection,
    DiagramItemCollection proposedItemsToAdd,
    DiagramItemCollection proposedItemsToRemove,
    DiagramItem primaryItem
)

参数

返回值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

GeneralDiagramSelectionRules 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间