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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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
)
public:
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
Parameters
idDictionary
Type: System.Collections.Generic.Dictionary<Guid, Guid>Map from the old IDs to the IDs that clones should have
partition
Type: Microsoft.VisualStudio.Modeling.PartitionThe partition in which the clone is to be created
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.