GeneralDiagramSelectionRules.GetCompliantSelection Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Seçim filtrelemesine izin vermek için tasarım yüzeyi tarafından çağırılır
public:
override bool GetCompliantSelection(Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ currentSelection, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItemCollection ^ proposedItemsToAdd, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItemCollection ^ proposedItemsToRemove, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ primaryItem);
public override bool GetCompliantSelection (Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection currentSelection, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection proposedItemsToAdd, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection proposedItemsToRemove, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem primaryItem);
override this.GetCompliantSelection : Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> bool
Public Overrides Function GetCompliantSelection (currentSelection As SelectedShapesCollection, proposedItemsToAdd As DiagramItemCollection, proposedItemsToRemove As DiagramItemCollection, primaryItem As DiagramItem) As Boolean
Parametreler
- currentSelection
- SelectedShapesCollection
'ndaki Herhangi bir ShapeElements eklenmeden veya kaldırılmadan önce geçerli seçim.
- proposedItemsToAdd
- DiagramItemCollection
- proposedItemsToRemove
- DiagramItemCollection
- primaryItem
- DiagramItem
Döndürülenler
seçimin bir kısmı veya tümü kabul edildiyse true; seçim teklifinin tamamı reddedildiyse false. Yanlışsa, seçimin reddedildiğini belirtmek için kullanıcıya uygun geri bildirim verilir.