Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the link role player on the other side of the relationship.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Shared Sub SetLinkedElement ( _
rolePlayerElement As ModelElement, _
domainRoleId As Guid, _
linkedElement As ModelElement _
)
public static void SetLinkedElement(
ModelElement rolePlayerElement,
Guid domainRoleId,
ModelElement linkedElement
)
public:
static void SetLinkedElement(
ModelElement^ rolePlayerElement,
Guid domainRoleId,
ModelElement^ linkedElement
)
static member SetLinkedElement :
rolePlayerElement:ModelElement *
domainRoleId:Guid *
linkedElement:ModelElement -> unit
public static function SetLinkedElement(
rolePlayerElement : ModelElement,
domainRoleId : Guid,
linkedElement : ModelElement
)
Parameters
- rolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element playing a role
- domainRoleId
Type: System.Guid
The role played by the element.
- linkedElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element on the other side of relationship.
.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.