Partager via


ElementGroup.AddGraph Method

Definition

Overloads

AddGraph(ModelElement)

Add an element and its children to the group Any links to elements already in the group will also be added.

AddGraph(ModelElement, Boolean)

Add an element and its children to the group

AddGraph(ModelElement, Boolean, Boolean)

Add an element and its children to the group

AddGraph(ModelElement)

Add an element and its children to the group Any links to elements already in the group will also be added.

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

Parameters

element
ModelElement

The element to add

Applies to

AddGraph(ModelElement, Boolean)

Add an element and its children to the group

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

Parameters

element
ModelElement

The element to add

isRootElement
Boolean

True if element should also be a root, false otherwise.

Applies to

AddGraph(ModelElement, Boolean, Boolean)

Add an element and its children to the group

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

Parameters

element
ModelElement

The element to add

isRootElement
Boolean

True if element should also be a root, false otherwise.

includeLinksAutomatically
Boolean

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

Applies to