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 命名空间