DesignSurfaceMergeContext::Set Method (Transaction^, ModelElement^, ElementGroup^)

 

Adds the DesignSurfaceMergeContext information to the specified transaction.

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

public:
static void Set(
	Transaction^ transaction,
	ModelElement^ targetElement,
	ElementGroup^ elementGroup
)

Parameters

transaction
Type: Microsoft.VisualStudio.Modeling::Transaction^

The transaction where the DesignSurfaceMergeContext will be saved to.

targetElement
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The target ModelElement of the merge operation.

elementGroup
Type: Microsoft.VisualStudio.Modeling::ElementGroup^

The ElementGroup that was reconstituted into the target store.

Return to top
Show: