ElementGroupPrototype Конструкторы

Определение

Перегрузки

ElementGroupPrototype(ElementGroup, IEnumerable<ModelElement>)

Конструктор

ElementGroupPrototype(Partition, Guid)

Конструктор для получения идентификатора доменного класса корневой. Используется для определения возможности слияния элемента в родительском элементе.

ElementGroupPrototype(Partition, ICollection<ModelElement>, ElementGroup)

Конструктор

ElementGroupPrototype(ElementGroup, IEnumerable<ModelElement>)

Конструктор

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))

Параметры

group
ElementGroup

Группа элементов, которую требуется заново создать

rootElements
IEnumerable<ModelElement>

Коллекция ICollection корневых элементов для данной группы

Применяется к

ElementGroupPrototype(Partition, Guid)

Конструктор для получения идентификатора доменного класса корневой. Используется для определения возможности слияния элемента в родительском элементе.

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)

Параметры

partition
Partition

Раздел, в кот находится этот rootElementDomainClassId

rootElementDomainClassId
Guid

представляет идентификатор доменного класса отдельного корневого элемента

Применяется к

ElementGroupPrototype(Partition, ICollection<ModelElement>, ElementGroup)

Конструктор

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)

Параметры

partition
Partition

Раздел для прототипа данной группы элементов

rootElements
ICollection<ModelElement>

коллекция корневых элементов

closureGroup
ElementGroup

группа элементов, содержащая закрытие

Применяется к