Partager via


ProtoGroup.ReconstituteGroup(Dictionary<Guid,Guid>, Partition) Method

Definition

Create a clone of this prototype's progenitor ElementGroup associated with the specified partition.

public:
 Microsoft::VisualStudio::Modeling::ElementGroup ^ ReconstituteGroup(System::Collections::Generic::Dictionary<Guid, Guid> ^ idDictionary, Microsoft::VisualStudio::Modeling::Partition ^ partition);
public Microsoft.VisualStudio.Modeling.ElementGroup ReconstituteGroup (System.Collections.Generic.Dictionary<Guid,Guid> idDictionary, Microsoft.VisualStudio.Modeling.Partition partition);
member this.ReconstituteGroup : System.Collections.Generic.Dictionary<Guid, Guid> * Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.ElementGroup
Public Function ReconstituteGroup (idDictionary As Dictionary(Of Guid, Guid), partition As Partition) As ElementGroup

Parameters

idDictionary
Dictionary<Guid,Guid>

Map from the progenitor ID's to the clone ID's

partition
Partition

The partition in which to create the clone ElementGroup. The partition may or may not contain all the elements in the group

Returns

The clone

Remarks

This method assumes that the clone Elements and ElementLinks have already been created.

Applies to