Udostępnij za pośrednictwem


ProtoElement.ReconstituteObject Method

Definition

Creates an element in the partition with the same attributes as the progenitor element

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

Parameters

idDictionary
Dictionary<Guid,Guid>

Map from the old IDs to the IDs that clones should have

partition
Partition

The partition in which the clone is to be created

Returns

Applies to