Share via


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Sub Toggle ( _
    diagramItems As DiagramItemCollection _
)
public void Toggle(
    DiagramItemCollection diagramItems
)
public:
void Toggle(
    DiagramItemCollection^ diagramItems
)
member Toggle : 
        diagramItems:DiagramItemCollection -> unit 
public function Toggle(
    diagramItems : DiagramItemCollection
)

Parameters

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Toggle Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace