Partager via


RelationshipHasTarget.SetTarget(DomainRelationship, DomainRole) Method

Definition

Sets Target.

public:
 static void SetTarget(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRelationship ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ newTarget);
[System.Diagnostics.DebuggerStepThrough]
public static void SetTarget (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship element, Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole newTarget);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetTarget : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship * Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole -> unit
Public Shared Sub SetTarget (element As DomainRelationship, newTarget As DomainRole)

Parameters

newTarget
DomainRole
Attributes

Applies to