SelectedShapesCollection::Set Method (DiagramItemCollection^)

 

Replaces the current selection with a new 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 Set(
	DiagramItemCollection^ diagramItems
)

Parameters

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

The collection of DiagramItems that is to replace the current selection.

If the DiagramItemCollection is null, then the selection is cleared. Clears deferred selection before taking any actions.

Return to top
Show: