DesignSurfaceElementOperations.MergeElementGroupPrototype Method (ModelElement, ElementGroupPrototype, PointF)
Merges the source ElementGroupPrototype with the specified target ModelElement.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Sub MergeElementGroupPrototype ( _
targetElement As ModelElement, _
elementGroupPrototype As ElementGroupPrototype, _
mergePosition As PointF _
)
public void MergeElementGroupPrototype(
ModelElement targetElement,
ElementGroupPrototype elementGroupPrototype,
PointF mergePosition
)
public:
void MergeElementGroupPrototype(
ModelElement^ targetElement,
ElementGroupPrototype^ elementGroupPrototype,
PointF mergePosition
)
member MergeElementGroupPrototype :
targetElement:ModelElement *
elementGroupPrototype:ElementGroupPrototype *
mergePosition:PointF -> unit
public function MergeElementGroupPrototype(
targetElement : ModelElement,
elementGroupPrototype : ElementGroupPrototype,
mergePosition : PointF
)
Parameters
- targetElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The target element which will serve as the parent of the reconstituted elements.
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The source ElementGroupPrototype.
- mergePosition
Type: System.Drawing.PointF
The merge position in absolute world coordinates.
.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.
See Also
Reference
DesignSurfaceElementOperations Class