Freigeben über


ElementOperations.Merge(ModelElement, IDataObject) Method

Definition

Merges (i.e., pastes or drops) the ElementGroupPrototype from the IDataObject to the target ModelElement.

public:
 virtual void Merge(Microsoft::VisualStudio::Modeling::ModelElement ^ targetElement, System::Windows::Forms::IDataObject ^ data);
public virtual void Merge (Microsoft.VisualStudio.Modeling.ModelElement targetElement, System.Windows.Forms.IDataObject data);
abstract member Merge : Microsoft.VisualStudio.Modeling.ModelElement * System.Windows.Forms.IDataObject -> unit
override this.Merge : Microsoft.VisualStudio.Modeling.ModelElement * System.Windows.Forms.IDataObject -> unit
Public Overridable Sub Merge (targetElement As ModelElement, data As IDataObject)

Parameters

targetElement
ModelElement

The ModelElement that is the target for the ElementGroupPrototype.

data
IDataObject

The IDataObject potentially containing the ElementGroupPrototype.

Applies to