SelectedShapesCollection.Set Method (DiagramItemCollection)

Replaces the current selection with a new selection.

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

Syntax

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

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Set Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace