Returns the reconstituted ModelElement given the guid of the source ModelElement.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Public Shared Function GetReconstitutedElement ( _
    transaction As Transaction, _
    sourceElementId As Guid _
) As ModelElement
public static ModelElement GetReconstitutedElement(
    Transaction transaction,
    Guid sourceElementId
)
public:
static ModelElement^ GetReconstitutedElement(
    Transaction^ transaction, 
    Guid sourceElementId
)
static member GetReconstitutedElement : 
        transaction:Transaction * 
        sourceElementId:Guid -> ModelElement 
public static function GetReconstitutedElement(
    transaction : Transaction, 
    sourceElementId : Guid
) : ModelElement
Parameters
- transaction
 Type: Microsoft.VisualStudio.Modeling.Transaction
 The transaction in which the elements were reconstituted from the ElementGroupPrototype.
- sourceElementId
 Type: System.Guid
 The id of the source ModelElement
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.