Controlling XML Serialization of Attributes

added by BlackWasp
1/31/2011 3:20:59 PM

1 Kicks, 64 Views

The default action, when serializing objects to XML, is for each public property and field to generate an XML element. The XmlAttribute attribute can be applied to public members to modify this behaviour and instead generate XML attributes.


0 comments