DesignSurfaceMergeContext.Set Method
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)
Syntax
'Declaration
Public Shared Sub Set ( _
transaction As Transaction, _
targetElement As ModelElement, _
elementGroup As ElementGroup _
)
public static void Set(
Transaction transaction,
ModelElement targetElement,
ElementGroup elementGroup
)
public:
static void Set(
Transaction^ transaction,
ModelElement^ targetElement,
ElementGroup^ elementGroup
)
static member Set :
transaction:Transaction *
targetElement:ModelElement *
elementGroup:ElementGroup -> unit
public static function Set(
transaction : Transaction,
targetElement : ModelElement,
elementGroup : ElementGroup
)
Parameters
transaction
Type: Microsoft.VisualStudio.Modeling.TransactionThe transaction where the DesignSurfaceMergeContext will be saved to.
targetElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe target ModelElement of the merge operation.
elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroupThe ElementGroup that was reconstituted into the target store.
.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.