共用方式為


DomainRoleHasPropertyAttributes.DomainRole 屬性

DomainRole DomainRole

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleHasPropertyAttributes/DomainRole.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleHasPropertyAttributes/DomainRole.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "PropertyAttributes",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleHasPropertyAttributes/DomainRole.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("03cf41d1-d4d9-4f9b-9608-fe61b7ae79fd")> _
Public Overridable Property DomainRole As DomainRole
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleHasPropertyAttributes/DomainRole.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleHasPropertyAttributes/DomainRole.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "PropertyAttributes", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleHasPropertyAttributes/DomainRole.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("03cf41d1-d4d9-4f9b-9608-fe61b7ae79fd")]
public virtual DomainRole DomainRole { get; set; }

屬性值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework 安全性

請參閱

參考

DomainRoleHasPropertyAttributes 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間