SelectedShapesCollection::Set Method (DiagramItem^)
Visual Studio 2015
Replaces the current selection with a new single 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 that is to replace the current selection.
If the DiagramItem is null, then the selection is cleared.
Show: