Partager via


ElementGroupPrototype.GetReconstitutedElement(Transaction, Guid) Method

Definition

Returns the reconstituted ModelElement given the guid of the source ModelElement.

public:
 static Microsoft::VisualStudio::Modeling::ModelElement ^ GetReconstitutedElement(Microsoft::VisualStudio::Modeling::Transaction ^ transaction, Guid sourceElementId);
public static Microsoft.VisualStudio.Modeling.ModelElement GetReconstitutedElement (Microsoft.VisualStudio.Modeling.Transaction transaction, Guid sourceElementId);
static member GetReconstitutedElement : Microsoft.VisualStudio.Modeling.Transaction * Guid -> Microsoft.VisualStudio.Modeling.ModelElement
Public Shared Function GetReconstitutedElement (transaction As Transaction, sourceElementId As Guid) As ModelElement

Parameters

transaction
Transaction

The transaction in which the elements were reconstituted from the ElementGroupPrototype.

sourceElementId
Guid

The id of the source ModelElement

Returns

Applies to