Condividi tramite


RoleHasRolePlayer.RolePlayer Property

DomainRole RolePlayer Roles played by the class.

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "RolesPlayed",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("54ded391-fe9d-4925-ba02-79a47f0df384")> _
Public Property RolePlayer As DomainClass
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "RolesPlayed", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("54ded391-fe9d-4925-ba02-79a47f0df384")]
public DomainClass RolePlayer { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"RolesPlayed", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, Multiplicity = Multiplicity::ZeroMany)]
[DomainObjectIdAttribute(L"54ded391-fe9d-4925-ba02-79a47f0df384")]
public:
property DomainClass^ RolePlayer {
    DomainClass^ get ();
    void set (DomainClass^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "RolesPlayed", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)>]
[<DomainObjectIdAttribute("54ded391-fe9d-4925-ba02-79a47f0df384")>]
member RolePlayer : DomainClass with get, set
function get RolePlayer () : DomainClass 
function set RolePlayer (value : DomainClass)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass

.NET Framework Security

See Also

Reference

RoleHasRolePlayer Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace