共用方式為


DomainRoleInfo.GetElementLinks Method (ModelElement)

Gets element links when a given element plays this role.

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

Syntax

'宣告
Public Function GetElementLinks ( _
    rolePlayerElement As ModelElement _
) As ReadOnlyCollection(Of ElementLink)
public ReadOnlyCollection<ElementLink> GetElementLinks(
    ModelElement rolePlayerElement
)
public:
ReadOnlyCollection<ElementLink^>^ GetElementLinks(
    ModelElement^ rolePlayerElement
)
member GetElementLinks : 
        rolePlayerElement:ModelElement -> ReadOnlyCollection<ElementLink> 
public function GetElementLinks(
    rolePlayerElement : ModelElement
) : ReadOnlyCollection<ElementLink>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ElementLink>
A ReadOnlyCollection<T> of links.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

GetElementLinks Overload

Microsoft.VisualStudio.Modeling Namespace