Partager via


RoleHasRolePlayer.Role, propriété

Rôle de classe de DomainRole d'élément jouant ce rôle dans la relation.

Espace de noms :  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntaxe

'Déclaration
<DomainObjectIdAttribute("08bcb6a8-166e-4a59-ae82-79203e6545d7")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "RolePlayer",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Role As DomainRole
[DomainObjectIdAttribute("08bcb6a8-166e-4a59-ae82-79203e6545d7")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "RolePlayer", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public DomainRole Role { get; set; }

Valeur de propriété

Type : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

Sécurité .NET Framework

Voir aussi

Référence

RoleHasRolePlayer Classe

Microsoft.VisualStudio.Modeling.DslDefinition, espace de noms