Share via


ListField.SetSelectionRange Method

Definition

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.

Applies to