ProtoElement.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)

Syntax

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

Parameters

  • 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

Reference

ProtoElement Class

Microsoft.VisualStudio.Modeling Namespace