RoleHasRolePlayer.GetLinksToRolesPlayed(DomainClass) 方法

定义

获取 DomainClass 的 RoleHasRolePlayer 链接的列表。

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::RoleHasRolePlayer ^> ^ GetLinksToRolesPlayed(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ rolePlayerInstance);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer> GetLinksToRolesPlayed (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass rolePlayerInstance);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinksToRolesPlayed : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer>
Public Shared Function GetLinksToRolesPlayed (rolePlayerInstance As DomainClass) As ReadOnlyCollection(Of RoleHasRolePlayer)

参数

rolePlayerInstance
DomainClass

返回

ReadOnlyCollection<RoleHasRolePlayer>
属性

适用于