SelectedShapesCollection::Add Method (DiagramItem^)
Visual Studio 2015
Adds a DiagramItem to the current selection.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- diagramItem
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^
The DiagramItem to add to the current selection.
The added DiagramItem automatically becomes the primary DiagramItem.
Show: