SelectedShapesCollection::Toggle Method (DiagramItemCollection^)

 

Toggles the specified DiagramItems into or out of the selection; i.e., if a DiagramItem is selected, it is deselected. If a DiagramItem is not selected, it is selected.

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

public:
void Toggle(
	DiagramItemCollection^ diagramItems
)

Parameters

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

The diagramItems to toggle into or out of the selection.

Return to top
Show: