共用方式為


RoleHasRolePlayer.GetRolesPlayed Method

Gets a list of RolesPlayed.

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

Syntax

'宣告
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