Compartilhar via


DiagramItemCollection.Remove Method

Definition

Overloads

Remove(DiagramItem)

Removes the first occurrence of a specific DiagramItem from the collection.

Remove(ICollection)

Removes the specified DiagramItems from an ICollection

Remove(DiagramItem)

Removes the first occurrence of a specific DiagramItem from the collection.

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

Parameters

diagramItem
DiagramItem

The DiagramItem to remove.

Applies to

Remove(ICollection)

Removes the specified DiagramItems from an ICollection

public:
 virtual void Remove(System::Collections::ICollection ^ diagramItemsToRemove);
public virtual void Remove (System.Collections.ICollection diagramItemsToRemove);
abstract member Remove : System.Collections.ICollection -> unit
override this.Remove : System.Collections.ICollection -> unit
Public Overridable Sub Remove (diagramItemsToRemove As ICollection)

Parameters

diagramItemsToRemove
ICollection

The collection of DiagramItems to remove.

Applies to