共用方式為


ProtoElementBase.ReconstituteObject Method

Definition

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

public:
 virtual Microsoft::VisualStudio::Modeling::ModelElement ^ ReconstituteObject(System::Collections::Generic::Dictionary<Guid, Guid> ^ idDictionary, Microsoft::VisualStudio::Modeling::Partition ^ partition);
public virtual Microsoft.VisualStudio.Modeling.ModelElement ReconstituteObject (System.Collections.Generic.Dictionary<Guid,Guid> idDictionary, Microsoft.VisualStudio.Modeling.Partition partition);
abstract member ReconstituteObject : System.Collections.Generic.Dictionary<Guid, Guid> * Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.ModelElement
override this.ReconstituteObject : System.Collections.Generic.Dictionary<Guid, Guid> * Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.ModelElement
Public Overridable 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