DomainRoleInfo.SetRolePlayer 方法

包括受保护的成员
包括继承的成员

设置角色扮演者。

重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。

重载列表 

  名称 说明
公共方法 SetRolePlayer(ElementLink, ModelElement) 获设置与该角色对应的角色扮演者链接。
公共方法静态成员 SetRolePlayer(ElementLink, Guid, ModelElement) 将元素分配到关系的角色。

页首

请参阅

参考

DomainRoleInfo 类

Microsoft.VisualStudio.Modeling 命名空间