Partager via


ElementGroup Constructors

Definition

Overloads

ElementGroup(ModelElement)

Convenience constructor for constructing a single element group, a common operation

ElementGroup(Partition)

Constructor

ElementGroup(Store)

Constructor

ElementGroup(ModelElement)

Convenience constructor for constructing a single element group, a common operation

public:
 ElementGroup(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public ElementGroup (Microsoft.VisualStudio.Modeling.ModelElement element);
new Microsoft.VisualStudio.Modeling.ElementGroup : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.ElementGroup
Public Sub New (element As ModelElement)

Parameters

element
ModelElement

The model element which will be the single initial root element of the group

Applies to

ElementGroup(Partition)

Constructor

public:
 ElementGroup(Microsoft::VisualStudio::Modeling::Partition ^ partition);
public ElementGroup (Microsoft.VisualStudio.Modeling.Partition partition);
new Microsoft.VisualStudio.Modeling.ElementGroup : Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.ElementGroup
Public Sub New (partition As Partition)

Parameters

partition
Partition

The partition that contains the elements in the group

Applies to

ElementGroup(Store)

Constructor

public:
 ElementGroup(Microsoft::VisualStudio::Modeling::Store ^ store);
public ElementGroup (Microsoft.VisualStudio.Modeling.Store store);
new Microsoft.VisualStudio.Modeling.ElementGroup : Microsoft.VisualStudio.Modeling.Store -> Microsoft.VisualStudio.Modeling.ElementGroup
Public Sub New (store As Store)

Parameters

store
Store

The store that contains the elements in the group. Will go to the default partition

Applies to