Partager via


SelectedShapesCollection.Remove Method (DiagramItemCollection)

Removes the specified DiagramItems from the current selection.

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

Syntax

'Déclaration
Public Sub Remove ( _
    diagramItems As DiagramItemCollection _
)
public void Remove(
    DiagramItemCollection diagramItems
)
public:
void Remove(
    DiagramItemCollection^ diagramItems
)
member Remove : 
        diagramItems:DiagramItemCollection -> unit 
public function Remove(
    diagramItems : DiagramItemCollection
)

Parameters

Remarks

If a DiagramItem does not exist in the selection, the DiagramItem is ignored.

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Remove Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace