Documentation > CMS Template API Library > XmlSerializer > SerializeXml(Object)
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
public System.String SerializeXml(Object)
Parameters
| Name | Description | Type |
|---|---|---|
| obj | System.Object |