XmlClassData.ElementName 属性

获取或设置 ElementName 字段的特性的值。 用于 XML 元素名称序列化指定的字段的元素类别。

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

语法

声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassData/ElementName.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("1982d7f3-0d7f-4cde-ad77-2a0a2c3184b4")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassData/ElementName.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassData/ElementName.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property ElementName As String
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassData/ElementName.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("1982d7f3-0d7f-4cde-ad77-2a0a2c3184b4")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassData/ElementName.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassData/ElementName.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string ElementName { get; set; }

属性值

类型:System.String

.NET Framework 安全性

请参见

参考

XmlClassData 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间