ElementNameProvider.GetLinkNames 方法

获取链接到分配给角色扮演者的唯一的链接名称的映射。

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

语法

声明
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
)

参数

返回值

类型:System.Collections.Generic.Dictionary<String, ModelElement>
包含链接名称的词典。

.NET Framework 安全性

请参阅

参考

ElementNameProvider 类

Microsoft.VisualStudio.Modeling 命名空间