DesignSurfaceElementOperations.OnMerged Method
Called by MergeElementGroupPrototype immediately before the local transaction is committed. The rules are queued during the local transaction and fired when the transaction commits. The local transaction wraps reconstituting and connecting elements. This method raises the custom model event ShapeElementViewFixupEvent for every root protoElement PEL that doesn't have a corresponding protoElement MEL. The rule processing of this event connects the PEL to the diagram if it isn't already.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Protected Overrides Sub OnMerged ( _
e As MergeElementGroupEventArgs _
)
protected override void OnMerged(
MergeElementGroupEventArgs e
)
protected:
virtual void OnMerged(
MergeElementGroupEventArgs^ e
) override
abstract OnMerged :
e:MergeElementGroupEventArgs -> unit
override OnMerged :
e:MergeElementGroupEventArgs -> unit
protected override function OnMerged(
e : MergeElementGroupEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.MergeElementGroupEventArgs
A MergeElementGroupEventArgs that contains event data.
.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.