ShapeModelingCollection.Remove Method

Definition

Overloads

Remove(ShapeElement)

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

Remove(ICollection)

Removes the specified ShapeElements from an ICollection

Remove(ShapeElement)

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

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

Parameters

shape
ShapeElement

Applies to

Remove(ICollection)

Removes the specified ShapeElements from an ICollection

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

Parameters

shapesToRemove
ICollection

Applies to