SelectedShapesCollection::Set Method (DiagramItem^)

 

Replaces the current selection with a new single 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(
	DiagramItem^ diagramItem
)

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.

Return to top
Show: