DomainRoleInfo.GetAllElementLinks Method

Gets a list of all element links that the given element participates in.

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

Syntax

'宣言
Public Shared Function GetAllElementLinks ( _
    rolePlayerElement As ModelElement _
) As ReadOnlyCollection(Of ElementLink)
'使用
Dim rolePlayerElement As ModelElement
Dim returnValue As ReadOnlyCollection(Of ElementLink)

returnValue = DomainRoleInfo.GetAllElementLinks(rolePlayerElement)
public static ReadOnlyCollection<ElementLink> GetAllElementLinks(
    ModelElement rolePlayerElement
)
public:
static ReadOnlyCollection<ElementLink^>^ GetAllElementLinks(
    ModelElement^ rolePlayerElement
)
public static function GetAllElementLinks(
    rolePlayerElement : ModelElement
) : ReadOnlyCollection<ElementLink>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ElementLink>

A ReadOnlyCollection<T> of the links connected to the element.

Permissions

See Also

Reference

DomainRoleInfo Class

DomainRoleInfo Members

Microsoft.VisualStudio.Modeling Namespace