Decorator.Name 属性

获取或设置名称字段的特性的值。 修饰器的名称。

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

语法

声明
<DomainObjectIdAttribute("50584c6a-f6b7-44f1-a1e5-fb797dff9354")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/Name.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<ElementNameAttribute> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/Name.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/Name.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Name As String
[DomainObjectIdAttribute("50584c6a-f6b7-44f1-a1e5-fb797dff9354")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/Name.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[ElementNameAttribute]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/Name.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/Name.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string Name { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

Decorator 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间