Поделиться через


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 - пространство имен