DesignSurfaceMergeContext.Set(Transaction, ModelElement, ElementGroup) 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.
Adds the DesignSurfaceMergeContext 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 DesignSurfaceMergeContext will be saved to.
- targetElement
- ModelElement
The target ModelElement of the merge operation.
- elementGroup
- ElementGroup
The ElementGroup that was reconstituted into the target store.