ElementNameProvider.GetLinkNames Method

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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'宣言
Protected Function GetLinkNames ( _
    rolePlayer As ModelElement, _
    domainRole As DomainRoleInfo, _
    excludedLink As ElementLink _
) As Dictionary(Of String, ModelElement)
'使用
Dim rolePlayer As ModelElement
Dim domainRole As DomainRoleInfo
Dim excludedLink As ElementLink
Dim returnValue As Dictionary(Of String, ModelElement)

returnValue = Me.GetLinkNames(rolePlayer, _
    domainRole, excludedLink)
protected Dictionary<string, ModelElement> GetLinkNames(
    ModelElement rolePlayer,
    DomainRoleInfo domainRole,
    ElementLink excludedLink
)
protected:
Dictionary<String^, ModelElement^>^ GetLinkNames(
    ModelElement^ rolePlayer, 
    DomainRoleInfo^ domainRole, 
    ElementLink^ excludedLink
)
protected function GetLinkNames(
    rolePlayer : ModelElement, 
    domainRole : DomainRoleInfo, 
    excludedLink : ElementLink
) : Dictionary<String, ModelElement>

Parameters

Return Value

Type: System.Collections.Generic.Dictionary<String, ModelElement>

The dictionary that contains the link names.

Permissions

See Also

Reference

ElementNameProvider Class

ElementNameProvider Members

Microsoft.VisualStudio.Modeling Namespace