Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a list of elements that are linked to a role.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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
rolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element assigned to the role.
Return Value
Type: ReadOnlyCollection<T>
A ReadOnlyCollection of links.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.