共用方式為


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 命名空間