DomainEnumeration.CustomAttributes 属性

获取或设置 CustomAttributes 字段的特性的值。 使用对属性从此元素生成的代码。

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

语法

声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/CustomAttributes.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/CustomAttributes.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.Calculated)> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/CustomAttributes.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("b9ed3e84-2deb-43a3-8597-09d6dc6c4de3")> _
Public ReadOnly Property CustomAttributes As String
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/CustomAttributes.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/CustomAttributes.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/CustomAttributes.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("b9ed3e84-2deb-43a3-8597-09d6dc6c4de3")]
public string CustomAttributes { get; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

DomainEnumeration 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间