Partilhar via


DslLibraryBase.MergeRelate Method

Called by the Merge process to create a relationship between this target element and the specified source element. 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.

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

Syntax

'Declaração
Protected Overrides Sub MergeRelate ( _
    sourceElement As ModelElement, _
    elementGroup As ElementGroup _
)
protected override void MergeRelate(
    ModelElement sourceElement,
    ElementGroup elementGroup
)
protected:
virtual void MergeRelate(
    ModelElement^ sourceElement, 
    ElementGroup^ elementGroup
) override
abstract MergeRelate : 
        sourceElement:ModelElement * 
        elementGroup:ElementGroup -> unit 
override MergeRelate : 
        sourceElement:ModelElement * 
        elementGroup:ElementGroup -> unit 
protected override function MergeRelate(
    sourceElement : ModelElement, 
    elementGroup : ElementGroup
)

Parameters

Remarks

This method is overriden to create the relationship between the target element and the specified source element. The base method does nothing.

.NET Framework Security

See Also

Reference

DslLibraryBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace