IDiagram::SelectShapes Method (IEnumerable<IShape^>^)

 

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.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

void SelectShapes(
	IEnumerable<IShape^>^ shapes
)

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.

Return to top
Show: