Поделиться через


GeneralDiagramSelectionRules.GetCompliantSelection - метод

Вызывается поверхностью разработки, чтобы разрешить фильтровать выделение

Пространство имен:  Microsoft.VisualStudio.Modeling.Diagrams
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (в Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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 - пространство имен