Freigeben über


ElementGroup.Add Method

Definition

Overloads

Add(ModelElement)

Adds an element to the group. Any links to elements already in the group will also be added.

Add(ModelElement, Boolean)

Adds an element to the group.

Add(ModelElement)

Adds an element to the group. Any links to elements already in the group will also be added.

public:
 void Add(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public void Add (Microsoft.VisualStudio.Modeling.ModelElement element);
member this.Add : Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Sub Add (element As ModelElement)

Parameters

element
ModelElement

The element to add to the group

Applies to

Add(ModelElement, Boolean)

Adds an element to the group.

public:
 void Add(Microsoft::VisualStudio::Modeling::ModelElement ^ element, bool includeLinksAutomatically);
public void Add (Microsoft.VisualStudio.Modeling.ModelElement element, bool includeLinksAutomatically);
member this.Add : Microsoft.VisualStudio.Modeling.ModelElement * bool -> unit
Public Sub Add (element As ModelElement, includeLinksAutomatically As Boolean)

Parameters

element
ModelElement

The element to add to the group

includeLinksAutomatically
Boolean

Flag to indicate whether to include links to elements already in the group should also be added

Applies to