Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a map of the link names for the links that are assigned to the role players.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Protected Function GetLinkNames ( _
    rolePlayer As ModelElement, _
    domainRole As DomainRoleInfo, _
    excludedLink As ElementLink _
) As Dictionary(Of String, ModelElement)
protected Dictionary<string, ModelElement> GetLinkNames(
    ModelElement rolePlayer,
    DomainRoleInfo domainRole,
    ElementLink excludedLink
)
protected:
Dictionary<String^, ModelElement^>^ GetLinkNames(
    ModelElement^ rolePlayer, 
    DomainRoleInfo^ domainRole, 
    ElementLink^ excludedLink
)
member GetLinkNames : 
        rolePlayer:ModelElement * 
        domainRole:DomainRoleInfo * 
        excludedLink:ElementLink -> Dictionary<string, ModelElement> 
protected function GetLinkNames(
    rolePlayer : ModelElement, 
    domainRole : DomainRoleInfo, 
    excludedLink : ElementLink
) : Dictionary<String, ModelElement>
Parameters
- rolePlayer 
 Type: Microsoft.VisualStudio.Modeling.ModelElement- The element to which the links are connected. 
- domainRole 
 Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo- The role of the element. 
- excludedLink 
 Type: Microsoft.VisualStudio.Modeling.ElementLink- The links that must be excluded from the list. 
Return Value
Type: System.Collections.Generic.Dictionary<String, ModelElement>
The dictionary that contains the link names.
.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.