ListField.SetSelectionRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the selection to a range of subfields
public:
override void SetSelectionRange(Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ selection, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ anchorItem, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ toItem);
public override void SetSelectionRange (Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection selection, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem anchorItem, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem toItem);
override this.SetSelectionRange : Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> unit
Public Overrides Sub SetSelectionRange (selection As SelectedShapesCollection, anchorItem As DiagramItem, toItem As DiagramItem)
Parameters
- selection
- SelectedShapesCollection
The selection to update.
- anchorItem
- DiagramItem
The DiagramItem anchor in the selection.
- toItem
- DiagramItem
The DiagramItem to which to extend the selection, starting from the anchor.