Udostępnij za pośrednictwem


ShapeModelingCollection.Add Method

Definition

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

Applies to