Documentation > CMS Template API Library > XmlSerializer

CrownPeak.CMSAPI.Experimental.XmlSerializer

Experimental methods. They could change in a future release. Use at your own risk. You can use Xml attribute tags from here http://msdn.microsoft.com/en-us/library/83y7df3e(v=vs.100).aspx in your classes and Serialize and Deserialize with this class Tag classes and members with various attributes without fully qualifying them. use [XmlElement] but not "[System.Xml.Serialization.XmlElementAttribute]"

NameDescriptionType
DeserializeXml

WARNING Experimental. It could change in a future release. Use at your own risk. Define a class that uses [XmlElement], [XmlAttribute], and other tags and you can then create an object from XML with this method

Method
SerializeXml

WARNING Experimental. It could change in a future release. Use at your own risk. Define a class that uses [XmlElement], [XmlAttribute], and other tags and you can then serialize an instance of that class to XML with this method

Method

Connect with Crownpeak