Partager via


RoleHasRolePlayer.GetRolesPlayed Method

Gets a list of RolesPlayed.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Function GetRolesPlayed ( _
    element As DomainClass _
) As LinkedElementCollection(Of DomainRole)
public static LinkedElementCollection<DomainRole> GetRolesPlayed(
    DomainClass element
)
public:
static LinkedElementCollection<DomainRole^>^ GetRolesPlayed(
    DomainClass^ element
)
static member GetRolesPlayed : 
        element:DomainClass -> LinkedElementCollection<DomainRole> 
public static function GetRolesPlayed(
    element : DomainClass
) : LinkedElementCollection<DomainRole>

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<DomainRole>

.NET Framework Security

See Also

Reference

RoleHasRolePlayer Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace