Code example for XmlSerializer

Methods: toStringendDocumentflush