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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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.ModelElementThe target element which will serve as the parent of the reconstituted elements.
elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototypeThe source ElementGroupPrototype.
mergePosition
Type: PointFThe 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