Partilhar via


Propriedade XmlClassData.ElementName

Obtém ou define o valor da propriedade de domínio ElementName.Nome do elemento XML usado para serializar os elementos da classe de domínio designado.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintaxe

'Declaração
<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; }

Valor de propriedade

Tipo: System.String

Segurança do .NET Framework

Consulte também

Referência

XmlClassData Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition