Delen via


ElementOperations.Merge Method

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

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Overridable Sub Merge ( _
    targetElement As ModelElement, _
    data As IDataObject _
)
public virtual void Merge(
    ModelElement targetElement,
    IDataObject data
)
public:
virtual void Merge(
    ModelElement^ targetElement, 
    IDataObject^ data
)
abstract Merge : 
        targetElement:ModelElement * 
        data:IDataObject -> unit  
override Merge : 
        targetElement:ModelElement * 
        data:IDataObject -> unit
public function Merge(
    targetElement : ModelElement, 
    data : IDataObject
)

Parameters

.NET Framework Security

See Also

Reference

ElementOperations Class

Microsoft.VisualStudio.Modeling Namespace