Posted By

BrentS on 03/30/12


Tagged


Versions (?)

Serialize XSD


 / Published in: C#
 

  1. TextWriter writer = new StringWriter();
  2. XmlSerializer serializer = new XmlSerializer(myObject.GetType());
  3. serializer.Serialize(writer, myObject);
  4. return writer.ToString();

Report this snippet  

You need to login to post a comment.