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

 

Sets the selection to a range of child shape fields.

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
)

Parameters

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

The selected shapes.

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

The shape field at the start of the range.

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

The shape field at the end of the range.

Return to top
Show: