Partilhar via


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

public:
 ElementGroupPrototype(Microsoft::VisualStudio::Modeling::ElementGroup ^ group, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements);
public ElementGroupPrototype (Microsoft.VisualStudio.Modeling.ElementGroup group, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> rootElements);
new Microsoft.VisualStudio.Modeling.ElementGroupPrototype : Microsoft.VisualStudio.Modeling.ElementGroup * seq<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Public Sub New (group As ElementGroup, rootElements As IEnumerable(Of ModelElement))

Parameters

group
ElementGroup

The element group that is to be recreated

rootElements
IEnumerable<ModelElement>

ICollection of the root elements for this group

Applies to

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.

public:
 ElementGroupPrototype(Microsoft::VisualStudio::Modeling::Partition ^ partition, Guid rootElementDomainClassId);
public ElementGroupPrototype (Microsoft.VisualStudio.Modeling.Partition partition, Guid rootElementDomainClassId);
new Microsoft.VisualStudio.Modeling.ElementGroupPrototype : Microsoft.VisualStudio.Modeling.Partition * Guid -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Public Sub New (partition As Partition, rootElementDomainClassId As Guid)

Parameters

partition
Partition

partition this rootElementDomainClassId resides

rootElementDomainClassId
Guid

represents domain class Id of the single root element

Applies to

ElementGroupPrototype(Partition, ICollection<ModelElement>, ElementGroup)

Constructor

public:
 ElementGroupPrototype(Microsoft::VisualStudio::Modeling::Partition ^ partition, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ElementGroup ^ closureGroup);
public ElementGroupPrototype (Microsoft.VisualStudio.Modeling.Partition partition, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ElementGroup closureGroup);
new Microsoft.VisualStudio.Modeling.ElementGroupPrototype : Microsoft.VisualStudio.Modeling.Partition * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ElementGroup -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Public Sub New (partition As Partition, rootElements As ICollection(Of ModelElement), closureGroup As ElementGroup)

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