XmlPropertyData.Representation Property
Gets or sets the value of Representation domain property. If Attribute, the property is serialized as an xml attribute; if Element, it is serialized as an element; if Ignore, it is not serialized.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<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")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("2093b46b-424e-4a68-999f-5be00ce7e3b8")> _
Public Property Representation As XmlPropertyRepresentation
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[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")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("2093b46b-424e-4a68-999f-5be00ce7e3b8")]
public XmlPropertyRepresentation Representation { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.Category",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DomainObjectIdAttribute(L"2093b46b-424e-4a68-999f-5be00ce7e3b8")]
public:
property XmlPropertyRepresentation Representation {
XmlPropertyRepresentation get ();
void set (XmlPropertyRepresentation value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyData/Representation.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<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")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)>]
[<DomainObjectIdAttribute("2093b46b-424e-4a68-999f-5be00ce7e3b8")>]
member Representation : XmlPropertyRepresentation with get, set
function get Representation () : XmlPropertyRepresentation
function set Representation (value : XmlPropertyRepresentation)
Property Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.XmlPropertyRepresentation
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.