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


XmlPropertyData.Representation - свойство

Возвращает или задает значение свойства домена представления.Если атрибут, свойство сериализуется как атрибут xml; если элемент, он сериализуется как элемент; если пропуск она не сериализуется.

Пространство имен:  Microsoft.VisualStudio.Modeling.DslDefinition
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Синтаксис

'Декларация
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("2093b46b-424e-4a68-999f-5be00ce7e3b8")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
Public Property Representation As XmlPropertyRepresentation
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("2093b46b-424e-4a68-999f-5be00ce7e3b8")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
public XmlPropertyRepresentation Representation { get; set; }

Значение свойства

Тип: Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyRepresentation

Безопасность платформы .NET Framework

См. также

Ссылки

XmlPropertyData Класс

Microsoft.VisualStudio.Modeling.DslDefinition - пространство имен