共用方式為


DomainRole.IsPropertyGenerator 屬性

取得或設定 IsPropertyGenerator 網域屬性的值。 如果為 True,就會在此角色的角色扮演者上產生屬性。

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

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyGenerator.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyGenerator.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyGenerator.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("39b12bd1-edaf-48e1-9754-c31c172af19d")> _
Public Property IsPropertyGenerator As Boolean
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyGenerator.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyGenerator.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/IsPropertyGenerator.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("39b12bd1-edaf-48e1-9754-c31c172af19d")]
public bool IsPropertyGenerator { get; set; }

屬性值

類型:System.Boolean

.NET Framework 安全性

請參閱

參考

DomainRole 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間