DesignSurfaceElementOperations::Merge Method (PresentationElement^, IDataObject^, PointF)
Visual Studio 2015
Merges (i.e., pastes or drops) the ElementGroupPrototype from the IDataObject to the target ModelElement.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: void Merge( PresentationElement^ targetElement, IDataObject^ data, PointF mergePosition )
Parameters
- targetElement
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PresentationElement^
The ModelElement that is the target for the ElementGroupPrototype.
- data
-
Type:
System.Windows.Forms::IDataObject^
The IDataObject potentially containing the ElementGroupPrototype.
- mergePosition
-
Type:
System.Drawing::PointF
location to which the the element should be merged
Show: