Partilhar via


RoleHasRolePlayer.Role Property

DomainRole Role Class of element playing this role in the relationship.

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

Syntax

'Declaração
<DomainObjectIdAttribute("08bcb6a8-166e-4a59-ae82-79203e6545d7")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<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")> _
Public Property Role As DomainRole
    Get
    Set
[DomainObjectIdAttribute("08bcb6a8-166e-4a59-ae82-79203e6545d7")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[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")]
public DomainRole Role { get; set; }
[DomainObjectIdAttribute(L"08bcb6a8-166e-4a59-ae82-79203e6545d7")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"RolePlayer", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::One)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property DomainRole^ Role {
    DomainRole^ get ();
    void set (DomainRole^ value);
}
[<DomainObjectIdAttribute("08bcb6a8-166e-4a59-ae82-79203e6545d7")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/Role.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<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")>]
member Role : DomainRole with get, set
function get Role () : DomainRole
function set Role (value : DomainRole)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework Security

See Also

Reference

RoleHasRolePlayer Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace