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