Exporting XML data

The XmlElement class includes methods and properties that export XML data. All of these methods have alternative method signatures that take a serialization options object (XmlSerializationOptions).