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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
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
sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element that is to be related to this model element.
elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroupThe group of source ModelElements that have been rehydrated into the target store.
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
- 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.