ListField.SetSelectionRange 方法

定义

将选择设置为一系列子字段

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)

参数

selection
SelectedShapesCollection

要更新的选定内容。

anchorItem
DiagramItem

选定内容中的 DiagramItem 定位点。

toItem
DiagramItem

要将选定内容扩展到的 DiagramItem 从定位点开始。

适用于