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 element links when a given element plays this 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 ( _
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
rolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element playing this role.
excludeDerivedRolesLinks
Type: BooleanDetermines whether to exclude links that are attached to derived role players.
Return Value
Type: ReadOnlyCollection<ElementLink>
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.