Compartilhar via


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Public Shared Function GetAllElementLinks ( _
    rolePlayerElement As ModelElement _
) As ReadOnlyCollection(Of ElementLink)
public static ReadOnlyCollection<ElementLink> GetAllElementLinks(
    ModelElement rolePlayerElement
)
public:
static ReadOnlyCollection<ElementLink^>^ GetAllElementLinks(
    ModelElement^ rolePlayerElement
)
static member GetAllElementLinks : 
        rolePlayerElement:ModelElement -> ReadOnlyCollection<ElementLink> 
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.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

Microsoft.VisualStudio.Modeling Namespace