共用方式為


ElementGroupPrototype.GetReconstitutedElement Method

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

  • sourceElementId
    Type: System.Guid
    The id of the source ModelElement

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

.NET Framework Security

See Also

Reference

ElementGroupPrototype Class

Microsoft.VisualStudio.Modeling Namespace