SelectedShapesCollection.Remove Method

Definition

Overloads

Remove(DiagramItem)

Removes a DiagramItem from the current selection.

Remove(DiagramItemCollection)

Removes the specified DiagramItems from the current selection.

Remove(DiagramItem)

Removes a DiagramItem from the current selection.

public:
 void Remove(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ diagramItem);
public void Remove (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem diagramItem);
member this.Remove : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> unit
Public Sub Remove (diagramItem As DiagramItem)

Parameters

diagramItem
DiagramItem

The DiagramItem to remove from the current selection.

Remarks

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

Applies to

Remove(DiagramItemCollection)

Removes the specified DiagramItems from the current selection.

public:
 void Remove(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItemCollection ^ diagramItems);
public void Remove (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection diagramItems);
member this.Remove : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection -> unit
Public Sub Remove (diagramItems As DiagramItemCollection)

Parameters

diagramItems
DiagramItemCollection

The collection of DiagramItems to remove

Remarks

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

Applies to