IMergeElements.MergeRelate Method

Gets the merge process that creates a relationship between this target element and the specified source element.

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

Syntax

'宣言
Sub MergeRelate ( _
    sourceElement As ModelElement, _
    elementGroup As ElementGroup _
)
'使用
Dim instance As IMergeElements
Dim sourceElement As ModelElement
Dim elementGroup As ElementGroup

instance.MergeRelate(sourceElement, elementGroup)
void MergeRelate(
    ModelElement sourceElement,
    ElementGroup elementGroup
)
void MergeRelate(
    ModelElement^ sourceElement, 
    ElementGroup^ elementGroup
)
function MergeRelate(
    sourceElement : ModelElement, 
    elementGroup : ElementGroup
)

Parameters

Remarks

Typically, a parent-child relationship is established between the target element (the parent) and the source element (the child), but any relationship can be established.

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

The base method on the interface does nothing.

Permissions

See Also

Reference

IMergeElements Interface

IMergeElements Members

Microsoft.VisualStudio.Modeling Namespace