ElementGroupPrototype Constructors

Definition

Overloads

ElementGroupPrototype(ElementGroup, IEnumerable<ModelElement>)

Constructor

ElementGroupPrototype(Partition, Guid)

Constructor for taking a rool domain class Id. This is used to determine whether an element can be merged under an parent element.

ElementGroupPrototype(Partition, ICollection<ModelElement>, ElementGroup)

Constructor

ElementGroupPrototype(ElementGroup, IEnumerable<ModelElement>)

Constructor

C++
public:
 ElementGroupPrototype(Microsoft::VisualStudio::Modeling::ElementGroup ^ group, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements);

Parameters

group
ElementGroup

The element group that is to be recreated

rootElements
IEnumerable<ModelElement>

ICollection of the root elements for this group

Applies to

Visual Studio SDK 2022 and other versions
Product Versions
Visual Studio SDK 2017, 2019, 2022

ElementGroupPrototype(Partition, Guid)

Constructor for taking a rool domain class Id. This is used to determine whether an element can be merged under an parent element.

C++
public:
 ElementGroupPrototype(Microsoft::VisualStudio::Modeling::Partition ^ partition, Guid rootElementDomainClassId);

Parameters

partition
Partition

partition this rootElementDomainClassId resides

rootElementDomainClassId
Guid

represents domain class Id of the single root element

Applies to

Visual Studio SDK 2022 and other versions
Product Versions
Visual Studio SDK 2017, 2019, 2022

ElementGroupPrototype(Partition, ICollection<ModelElement>, ElementGroup)

Constructor

C++
public:
 ElementGroupPrototype(Microsoft::VisualStudio::Modeling::Partition ^ partition, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ElementGroup ^ closureGroup);

Parameters

partition
Partition

partition for this element group prototype

rootElements
ICollection<ModelElement>

collection of root elements

closureGroup
ElementGroup

element group containing the closure

Applies to

Visual Studio SDK 2022 and other versions
Product Versions
Visual Studio SDK 2017, 2019, 2022