ElementOperations.Merge(ModelElement, IDataObject) 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:
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.