DesignSurfaceElementOperations.Merge Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Merges (i.e., pastes or drops) the ElementGroupPrototype from the IDataObject to the target ModelElement.
public:
void Merge(Microsoft::VisualStudio::Modeling::Diagrams::PresentationElement ^ targetElement, System::Windows::Forms::IDataObject ^ data, System::Drawing::PointF mergePosition);
public void Merge (Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement targetElement, System.Windows.Forms.IDataObject data, System.Drawing.PointF mergePosition);
override this.Merge : Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement * System.Windows.Forms.IDataObject * System.Drawing.PointF -> unit
Public Sub Merge (targetElement As PresentationElement, data As IDataObject, mergePosition As PointF)
Parameters
- targetElement
- PresentationElement
The ModelElement that is the target for the ElementGroupPrototype.
- data
- IDataObject
The IDataObject potentially containing the ElementGroupPrototype.
- mergePosition
- PointF
location to which the the element should be merged