SelectedShapesCollection::Add Method (DiagramItemCollection^)

 

Adds the specified DiagramItems 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(
	DiagramItemCollection^ diagramItems
)

Parameters

diagramItems
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItemCollection^

The collection of DiagramItems to add.

The last DiagramItem in the collection becomes the primary DiagramItem. If a DiagramItem in the collection is already in the selection, the DiagramItem is ignored.

Return to top
Show: