Właściwość RoleHasRolePlayer.RolePlayer —
DomainRole RolePlayer role pełnione przez klasę.
Przestrzeń nazw: Microsoft.VisualStudio.Modeling.DslDefinition
Zestaw: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Składnia
'Deklaracja
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.DisplayName", _
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")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property RolePlayer As DomainClass
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.DisplayName",
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")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer/RolePlayer.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public DomainClass RolePlayer { get; set; }
Wartość właściwości
Typ: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..
Zobacz też
Informacje
Przestrzeń nazw Microsoft.VisualStudio.Modeling.DslDefinition