Partager via


MergeContext.Set(Transaction, ModelElement, ElementGroup) Method

Definition

Adds the MergeContext information to the specified transaction.

public:
 static void Set(Microsoft::VisualStudio::Modeling::Transaction ^ transaction, Microsoft::VisualStudio::Modeling::ModelElement ^ targetElement, Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public static void Set (Microsoft.VisualStudio.Modeling.Transaction transaction, Microsoft.VisualStudio.Modeling.ModelElement targetElement, Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
static member Set : Microsoft.VisualStudio.Modeling.Transaction * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroup -> unit
Public Shared Sub Set (transaction As Transaction, targetElement As ModelElement, elementGroup As ElementGroup)

Parameters

transaction
Transaction

The transaction where the MergeContext will be saved to.

targetElement
ModelElement

The target ModelElement of the merge operation.

elementGroup
ElementGroup

The ElementGroup that was reconstituted into the target store.

Applies to