Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the element that is linked to this element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Shared Function GetLinkedElement ( _
rolePlayerElement As ModelElement, _
domainRoleId As Guid _
) As ModelElement
public static ModelElement GetLinkedElement(
ModelElement rolePlayerElement,
Guid domainRoleId
)
public:
static ModelElement^ GetLinkedElement(
ModelElement^ rolePlayerElement,
Guid domainRoleId
)
static member GetLinkedElement :
rolePlayerElement:ModelElement *
domainRoleId:Guid -> ModelElement
public static function GetLinkedElement(
rolePlayerElement : ModelElement,
domainRoleId : Guid
) : ModelElement
Parameters
- rolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element playing this role.
- domainRoleId
Type: System.Guid
The role played by the element.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
A ModelElement on the other side of the 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.