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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.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
- targetElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The ModelElement that is the target for the ElementGroupPrototype.
- data
Type: System.Windows.Forms.IDataObject
The IDataObject potentially containing the ElementGroupPrototype.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.