RoleHasRolePlayer.GetLink(DomainRole, DomainClass) 方法

定义

获取给定 DomainRoleand 之间的一个 RoleHasRolePlayer 链接 DomainClass。

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::RoleHasRolePlayer ^ GetLink(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer GetLink (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole source, Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLink : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole * Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer
Public Shared Function GetLink (source As DomainRole, target As DomainClass) As RoleHasRolePlayer

参数

source
DomainRole
target
DomainClass

返回

RoleHasRolePlayer
属性

适用于