DomainRole.PropertyGetterAccessModifier 属性

获取或设置 PropertyGetterAccessModifier 字段的特性的值。 确定所生成的属性 getter 的访问修饰符。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
<DomainObjectIdAttribute("96c803ec-2212-4914-87c4-f1198a6956a9")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/PropertyGetterAccessModifier.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/PropertyGetterAccessModifier.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/PropertyGetterAccessModifier.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property PropertyGetterAccessModifier As AccessModifier
[DomainObjectIdAttribute("96c803ec-2212-4914-87c4-f1198a6956a9")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/PropertyGetterAccessModifier.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/PropertyGetterAccessModifier.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole/PropertyGetterAccessModifier.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public AccessModifier PropertyGetterAccessModifier { get; set; }

属性值

类型:Microsoft.VisualStudio.Modeling.DslDefinition.AccessModifier

.NET Framework 安全性

请参见

参考

DomainRole 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间