ElementGroupPrototype.CreateElementGroup Method (Partition, IElementPartitionMapper)
Create a clone of the progenitor element group
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Function CreateElementGroup ( _
partition As Partition, _
partitionMapper As IElementPartitionMapper _
) As ElementGroup
public ElementGroup CreateElementGroup(
Partition partition,
IElementPartitionMapper partitionMapper
)
public:
ElementGroup^ CreateElementGroup(
Partition^ partition,
IElementPartitionMapper^ partitionMapper
)
member CreateElementGroup :
partition:Partition *
partitionMapper:IElementPartitionMapper -> ElementGroup
public function CreateElementGroup(
partition : Partition,
partitionMapper : IElementPartitionMapper
) : ElementGroup
Parameters
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
The target partition for the clone. Not all elements and links are necessarily reconstituted in this partition.
- partitionMapper
Type: Microsoft.VisualStudio.Modeling.IElementPartitionMapper
Partition mapping service responsible for identify the actual partitions in which to reconstitute elements and links.
Return Value
Type: Microsoft.VisualStudio.Modeling.ElementGroup
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.