Partilhar via


SelectedShapesCollection.Remove Method (DiagramItem)

Removes a DiagramItem 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

'Declaração
Public Sub Remove ( _
    diagramItem As DiagramItem _
)
public void Remove(
    DiagramItem diagramItem
)
public:
void Remove(
    DiagramItem^ diagramItem
)
member Remove : 
        diagramItem:DiagramItem -> unit 
public function Remove(
    diagramItem : DiagramItem
)

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