SelectedShapesCollection.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.