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)
Syntax
void SelectShapes(
IEnumerable<IShape> shapes
)
void SelectShapes(
IEnumerable<IShape^>^ shapes
)
abstract SelectShapes :
shapes:IEnumerable<IShape> -> unit
Sub SelectShapes (
shapes As IEnumerable(Of IShape)
)
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.
See Also
IDiagram Interface
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace
Return to top