次の方法で共有


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

public:
 Microsoft::VisualStudio::Modeling::ElementGroup ^ CreateElementGroup(Microsoft::VisualStudio::Modeling::Partition ^ partition);
public Microsoft.VisualStudio.Modeling.ElementGroup CreateElementGroup (Microsoft.VisualStudio.Modeling.Partition partition);
member this.CreateElementGroup : Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.ElementGroup
Public Function CreateElementGroup (partition As Partition) As ElementGroup

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

CreateElementGroup(Store)

Create a clone of the progenitor element group

public:
 Microsoft::VisualStudio::Modeling::ElementGroup ^ CreateElementGroup(Microsoft::VisualStudio::Modeling::Store ^ store);
public Microsoft.VisualStudio.Modeling.ElementGroup CreateElementGroup (Microsoft.VisualStudio.Modeling.Store store);
member this.CreateElementGroup : Microsoft.VisualStudio.Modeling.Store -> Microsoft.VisualStudio.Modeling.ElementGroup
Public Function CreateElementGroup (store As Store) As ElementGroup

Parameters

store
Store

The store in which to create the clone

Returns

The clone element group

Applies to

CreateElementGroup(Partition, IElementPartitionMapper)

Create a clone of the progenitor element group

public:
 Microsoft::VisualStudio::Modeling::ElementGroup ^ CreateElementGroup(Microsoft::VisualStudio::Modeling::Partition ^ partition, Microsoft::VisualStudio::Modeling::IElementPartitionMapper ^ partitionMapper);
public Microsoft.VisualStudio.Modeling.ElementGroup CreateElementGroup (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.IElementPartitionMapper partitionMapper);
member this.CreateElementGroup : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.IElementPartitionMapper -> Microsoft.VisualStudio.Modeling.ElementGroup
Public Function CreateElementGroup (partition As Partition, partitionMapper As IElementPartitionMapper) As ElementGroup

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