MergeContext.GetTargetElement Method
Returns the target ModelElement of the merge operation.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.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
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
The transaction containing the saved MergeContext. This is typically the top-level transaction.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
The target ModelElement of the merge operation.
.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.