ListField::SetSelectionRange Method (SelectedShapesCollection^, DiagramItem^, DiagramItem^)

 

Sets the selection to a range of subfields

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual void SetSelectionRange(
	SelectedShapesCollection^ selection,
	DiagramItem^ anchorItem,
	DiagramItem^ toItem
) override

Parameters

selection
Type: Microsoft.VisualStudio.Modeling.Diagrams::SelectedShapesCollection^

The selection to update.

anchorItem
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^

The DiagramItem anchor in the selection.

toItem
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^

The DiagramItem to which to extend the selection, starting from the anchor.

Return to top
Show: