共用方式為


ShapeField.SetSelectionRange Method

Definition

Sets the selection to a range of subfields

public:
 virtual void SetSelectionRange(Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ selection, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ anchorItem, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ toItem);
public virtual void SetSelectionRange (Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection selection, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem anchorItem, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem toItem);
abstract member SetSelectionRange : Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> unit
override this.SetSelectionRange : Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> unit
Public Overridable Sub SetSelectionRange (selection As SelectedShapesCollection, anchorItem As DiagramItem, toItem As DiagramItem)

Parameters

anchorItem
DiagramItem
toItem
DiagramItem

Applies to