ProtoGroup.ReconstituteGroup Method
Create a clone of this prototype's progenitor ElementGroup associated with the specified partition.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
‘선언
Public Function ReconstituteGroup ( _
idDictionary As Dictionary(Of Guid, Guid), _
partition As Partition _
) As ElementGroup
public ElementGroup ReconstituteGroup(
Dictionary<Guid, Guid> idDictionary,
Partition partition
)
public:
ElementGroup^ ReconstituteGroup(
Dictionary<Guid, Guid>^ idDictionary,
Partition^ partition
)
member ReconstituteGroup :
idDictionary:Dictionary<Guid, Guid> *
partition:Partition -> ElementGroup
public function ReconstituteGroup(
idDictionary : Dictionary<Guid, Guid>,
partition : Partition
) : ElementGroup
Parameters
- idDictionary
Type: System.Collections.Generic.Dictionary<Guid, Guid>
Map from the progenitor ID's to the clone ID's
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
The partition in which to create the clone ElementGroup. The partition may or may not contain all the elements in the group
Return Value
Type: Microsoft.VisualStudio.Modeling.ElementGroup
The clone
Remarks
This method assumes that the clone Elements and ElementLinks have already been created.
.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.