DomainRoleInfo.GetLinkedElements Method

Gets a list of elements that are linked to this role.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'宣言
Public Function GetLinkedElements ( _
    rolePlayerElement As ModelElement _
) As LinkedElementCollection(Of ModelElement)
'使用
Dim instance As DomainRoleInfo
Dim rolePlayerElement As ModelElement
Dim returnValue As LinkedElementCollection(Of ModelElement)

returnValue = instance.GetLinkedElements(rolePlayerElement)
public LinkedElementCollection<ModelElement> GetLinkedElements(
    ModelElement rolePlayerElement
)
public:
LinkedElementCollection<ModelElement^>^ GetLinkedElements(
    ModelElement^ rolePlayerElement
)
public function GetLinkedElements(
    rolePlayerElement : ModelElement
) : LinkedElementCollection<ModelElement>

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<ModelElement>

The collection of element links that play the opposite role in links that the element participates in.

Permissions

See Also

Reference

DomainRoleInfo Class

DomainRoleInfo Members

Microsoft.VisualStudio.Modeling Namespace