Decorator.DisplayName 属性

获取或设置 DisplayName 字段的特性的值。 此修饰器的生成的设计器中显示的名称。

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

语法

声明
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("1729b4eb-7b22-4fed-96f4-9438cd29f481")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property DisplayName As String
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("1729b4eb-7b22-4fed-96f4-9438cd29f481")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string DisplayName { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

Decorator 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间