ElementGroupPrototype.CreateElementGroup Method

Definition

Overloads

CreateElementGroup(Partition)

Create a clone of the progenitor element group

CreateElementGroup(Store)

Create a clone of the progenitor element group

CreateElementGroup(Partition, IElementPartitionMapper)

Create a clone of the progenitor element group

CreateElementGroup(Partition)

Create a clone of the progenitor element group

C++
public:
 Microsoft::VisualStudio::Modeling::ElementGroup ^ CreateElementGroup(Microsoft::VisualStudio::Modeling::Partition ^ partition);

Parameters

partition
Partition

The target partition for the clone. Not all elements and links are necessarily reconstituted in this partition.

Returns

The clone element group

Applies to

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

CreateElementGroup(Store)

Create a clone of the progenitor element group

C++
public:
 Microsoft::VisualStudio::Modeling::ElementGroup ^ CreateElementGroup(Microsoft::VisualStudio::Modeling::Store ^ store);

Parameters

store
Store

The store in which to create the clone

Returns

The clone element group

Applies to

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

CreateElementGroup(Partition, IElementPartitionMapper)

Create a clone of the progenitor element group

C++
public:
 Microsoft::VisualStudio::Modeling::ElementGroup ^ CreateElementGroup(Microsoft::VisualStudio::Modeling::Partition ^ partition, Microsoft::VisualStudio::Modeling::IElementPartitionMapper ^ partitionMapper);

Parameters

partition
Partition

The target partition for the clone. Not all elements and links are necessarily reconstituted in this partition.

partitionMapper
IElementPartitionMapper

Partition mapping service responsible for identify the actual partitions in which to reconstitute elements and links.

Returns

Applies to

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