ElementGroupPrototype.CreateElementGroup Method (Partition)
Create a clone of the progenitor element group
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Function CreateElementGroup ( _
partition As Partition _
) As ElementGroup
public ElementGroup CreateElementGroup(
Partition partition
)
public:
ElementGroup^ CreateElementGroup(
Partition^ partition
)
member CreateElementGroup :
partition:Partition -> ElementGroup
public function CreateElementGroup(
partition : Partition
) : ElementGroup
Parameters
partition
Type: Microsoft.VisualStudio.Modeling.PartitionThe target partition for the clone. Not all elements and links are necessarily reconstituted in this partition.
Return Value
Type: Microsoft.VisualStudio.Modeling.ElementGroup
The clone element group
.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.