ShapeModelingCollection.Add 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
Add(ShapeElement) |
Adds a specific ShapeElement to the collection. |
Add(ICollection) |
Adds the ShapeElements of an ICollection to the end of the ShapeModelingCollection |
Add(ShapeElement)
Adds a specific ShapeElement to the collection.
public:
virtual void Add(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape);
public virtual void Add (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape);
abstract member Add : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> unit
override this.Add : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> unit
Public Overridable Sub Add (shape As ShapeElement)
Parameters
- shape
- ShapeElement
Applies to
Add(ICollection)
Adds the ShapeElements of an ICollection to the end of the ShapeModelingCollection
public:
virtual void Add(System::Collections::ICollection ^ shapesToAdd);
public virtual void Add (System.Collections.ICollection shapesToAdd);
abstract member Add : System.Collections.ICollection -> unit
override this.Add : System.Collections.ICollection -> unit
Public Overridable Sub Add (shapesToAdd As ICollection)
Parameters
- shapesToAdd
- ICollection