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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Sub MergeRelate ( _
sourceElement As ModelElement, _
elementGroup As ElementGroup _
)
void MergeRelate(
ModelElement sourceElement,
ElementGroup elementGroup
)
void MergeRelate(
ModelElement^ sourceElement,
ElementGroup^ elementGroup
)
abstract MergeRelate :
sourceElement:ModelElement *
elementGroup:ElementGroup -> unit
function MergeRelate(
sourceElement : ModelElement,
elementGroup : ElementGroup
)
Parameters
- sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element that is to be related to this model element.
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
The group of source ModelElement objects that have been added back into the target store.
Remarks
Override this method to create the relationship between this target element and the specified source element.
.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.