ModelElement.MergeRelate Method

Creates a relationship between this target element and the specified source element.

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

Syntax

'Declaration
Protected Overridable Sub MergeRelate ( _
    sourceElement As ModelElement, _
    elementGroup As ElementGroup _
)
protected virtual void MergeRelate(
    ModelElement sourceElement,
    ElementGroup elementGroup
)
protected:
virtual void MergeRelate(
    ModelElement^ sourceElement, 
    ElementGroup^ elementGroup
)
abstract MergeRelate : 
        sourceElement:ModelElement * 
        elementGroup:ElementGroup -> unit  
override MergeRelate : 
        sourceElement:ModelElement * 
        elementGroup:ElementGroup -> unit
protected function MergeRelate(
    sourceElement : ModelElement, 
    elementGroup : ElementGroup
)

Parameters

Remarks

Override this method to create the relationship between this target element and the specified source element.

.NET Framework Security

See Also

Reference

ModelElement Class

Microsoft.VisualStudio.Modeling Namespace

Other Resources

Customizing Copy Behavior

How to: Program Copy and Paste Behavior - redirect

How to: Add a Drag-and-Drop Handler