Udostępnij za pośrednictwem


Metoda GeneralDiagramSelectionRules.GetCompliantSelection —

Wywołana przez powierzchnię projektu, aby zezwolić na filtrowanie zaznaczenia

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Składnia

'Deklaracja
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
)

Parametry

Wartość zwracana

Typ: System.Boolean

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

GeneralDiagramSelectionRules Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams