IDiagram::SelectShapes Method (IEnumerable<IShape^>^)
Visual Studio 2015
Sets the current selection to the given collection of shapes, and sets the Selection property. This does not activate the window that displays the diagram.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Parameters
- shapes
-
Type:
System.Collections.Generic::IEnumerable<IShape^>^
Each shape must be a selectable shape on this diagram. If there are several shapes in the list, they should have the same parent. If the collection is empty, the diagram will be selected.
Show: