Compartilhar via


Método GeneralDiagramSelectionRules.GetCompliantSelection

Chamado pela superfície de design para permitir a filtragem de seleção

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Sintaxe

'Declaração
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
)

Parâmetros

Valor de retorno

Tipo: System.Boolean

Segurança do .NET Framework

Consulte também

Referência

GeneralDiagramSelectionRules Classe

Namespace Microsoft.VisualStudio.Modeling.Diagrams