DesignSurfaceMergeContext.GetTargetElement(Transaction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the target ModelElement of the merge operation.
public:
static Microsoft::VisualStudio::Modeling::ModelElement ^ GetTargetElement(Microsoft::VisualStudio::Modeling::Transaction ^ transaction);
public static Microsoft.VisualStudio.Modeling.ModelElement GetTargetElement (Microsoft.VisualStudio.Modeling.Transaction transaction);
static member GetTargetElement : Microsoft.VisualStudio.Modeling.Transaction -> Microsoft.VisualStudio.Modeling.ModelElement
Public Shared Function GetTargetElement (transaction As Transaction) As ModelElement
Parameters
- transaction
- Transaction
The transaction containing the saved DesignSurfaceMergeContext. This is typically the top-level transaction.
Returns
The target ModelElement of the merge operation.