다음을 통해 공유


DomainRoleInfo.GetLinkedElement Method (ModelElement, Guid)

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

‘선언
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

  • 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

See Also

Reference

DomainRoleInfo Class

GetLinkedElement Overload

Microsoft.VisualStudio.Modeling Namespace