Freigeben über


DomainRoleInfo.GetElementLinks Method (ModelElement, Boolean)

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

'Declaration
Public Function GetElementLinks ( _
    rolePlayerElement As ModelElement, _
    excludeDerivedRolesLinks As Boolean _
) As ReadOnlyCollection(Of ElementLink)
public ReadOnlyCollection<ElementLink> GetElementLinks(
    ModelElement rolePlayerElement,
    bool excludeDerivedRolesLinks
)
public:
ReadOnlyCollection<ElementLink^>^ GetElementLinks(
    ModelElement^ rolePlayerElement, 
    bool excludeDerivedRolesLinks
)
member GetElementLinks : 
        rolePlayerElement:ModelElement * 
        excludeDerivedRolesLinks:bool -> ReadOnlyCollection<ElementLink> 
public function GetElementLinks(
    rolePlayerElement : ModelElement, 
    excludeDerivedRolesLinks : boolean
) : ReadOnlyCollection<ElementLink>

Parameters

  • excludeDerivedRolesLinks
    Type: System.Boolean
    Determines whether to exclude links that are attached to derived role players.

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