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
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 ModelElement objects that have been added back into the target store.
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
- 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.