DomainEnumeration.Description 属性

获取或设置说明字段的特性的值。 使用在 UI 中生成的设计器的代码文档。

命名空间:  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/Description.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/Description.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/Description.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("a12eb6d5-9df3-4ddf-bc36-a239678f4280")> _
Public Property Description As String
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/Description.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/Description.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainEnumeration/Description.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("a12eb6d5-9df3-4ddf-bc36-a239678f4280")]
public string Description { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

DomainEnumeration 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间