다음을 통해 공유


DomainRoleInfo.GetElementLinks<T> Method (ModelElement)

Gets a list of elements that are linked to a role.

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

Syntax

'Declaration
Public Function GetElementLinks(Of T As ElementLink) ( _
    rolePlayerElement As ModelElement _
) As ReadOnlyCollection(Of T)
public ReadOnlyCollection<T> GetElementLinks<T>(
    ModelElement rolePlayerElement
)
where T : ElementLink
public:
generic<typename T>
where T : ElementLink 
ReadOnlyCollection<T>^ GetElementLinks(
    ModelElement^ rolePlayerElement
)
member GetElementLinks : 
        rolePlayerElement:ModelElement -> ReadOnlyCollection<'T>  when 'T : ElementLink
JScript does not support generic types or methods.

Type Parameters

  • T
    Type of link.

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

GetElementLinks Overload

Microsoft.VisualStudio.Modeling Namespace