ProtoElementBase.ReconstituteObject Method

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

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)


Public Overridable Function ReconstituteObject ( _
    idDictionary As Dictionary(Of Guid, Guid), _
    partition As Partition _
) As ModelElement
public virtual ModelElement ReconstituteObject(
    Dictionary<Guid, Guid> idDictionary,
    Partition partition
virtual ModelElement^ ReconstituteObject(
    Dictionary<Guid, Guid>^ idDictionary, 
    Partition^ partition
abstract ReconstituteObject : 
        idDictionary:Dictionary<Guid, Guid> * 
        partition:Partition -> ModelElement  
override ReconstituteObject : 
        idDictionary:Dictionary<Guid, Guid> * 
        partition:Partition -> ModelElement
public function ReconstituteObject(
    idDictionary : Dictionary<Guid, Guid>, 
    partition : Partition
) : ModelElement


  • idDictionary
    Type: Dictionary<Guid, Guid>

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

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

.NET Framework Security

See Also


ProtoElementBase Class

Microsoft.VisualStudio.Modeling Namespace