DomainRoleInfo.GetElementLinks Method (ModelElement)

Gets element links when a given element plays this role.

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

Syntax

'宣言
Public Function GetElementLinks ( _
    rolePlayerElement As ModelElement _
) As ReadOnlyCollection(Of ElementLink)
'使用
Dim instance As DomainRoleInfo
Dim rolePlayerElement As ModelElement
Dim returnValue As ReadOnlyCollection(Of ElementLink)

returnValue = instance.GetElementLinks(rolePlayerElement)
public ReadOnlyCollection<ElementLink> GetElementLinks(
    ModelElement rolePlayerElement
)
public:
ReadOnlyCollection<ElementLink^>^ GetElementLinks(
    ModelElement^ rolePlayerElement
)
public function GetElementLinks(
    rolePlayerElement : ModelElement
) : ReadOnlyCollection<ElementLink>

Parameters

Return Value

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

A ReadOnlyCollection<T> of links.

Permissions

See Also

Reference

DomainRoleInfo Class

DomainRoleInfo Members

GetElementLinks Overload

Microsoft.VisualStudio.Modeling Namespace