Controlling XML Serialization of the Root Element

added by BlackWasp
1/4/2011 5:44:55 PM

1 Kicks, 84 Views

Every XML document includes a root element that contains all of the other information held. When serializing objects to XML the root element's construction is linked to the name of the class or structure unless modified with the XmlRoot attribute.