共用方式為


DesignSurfaceMergeContext.GetTargetElement Method

Returns the target ModelElement of the merge operation.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Shared Function GetTargetElement ( _
    transaction As Transaction _
) As ModelElement
public static ModelElement GetTargetElement(
    Transaction transaction
)
public:
static ModelElement^ GetTargetElement(
    Transaction^ transaction
)
static member GetTargetElement : 
        transaction:Transaction -> ModelElement 
public static function GetTargetElement(
    transaction : Transaction
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

.NET Framework Security

See Also

Reference

DesignSurfaceMergeContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace