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