Delen via


DomainRoleInfo.GetLinkedElements Method

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

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

Syntax

'Declaration
Public Function GetLinkedElements ( _
    rolePlayerElement As ModelElement _
) As LinkedElementCollection(Of ModelElement)
public LinkedElementCollection<ModelElement> GetLinkedElements(
    ModelElement rolePlayerElement
)
public:
LinkedElementCollection<ModelElement^>^ GetLinkedElements(
    ModelElement^ rolePlayerElement
)
member GetLinkedElements : 
        rolePlayerElement:ModelElement -> LinkedElementCollection<ModelElement> 
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.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

Microsoft.VisualStudio.Modeling Namespace