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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.