SelectedShapesCollection::Add Method (DiagramItem^)

 

Adds a DiagramItem to the current selection.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
void Add(
	DiagramItem^ diagramItem
)

Parameters

diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^

The DiagramItem to add to the current selection.

The added DiagramItem automatically becomes the primary DiagramItem.

Return to top
Show: