ShapeModelingCollection.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(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