Return to Snippet

Revision: 2945
at May 15, 2007 20:29 by rengber


Initial Code
TextWriter writer = new StringWriter();
  XmlSerializer serializer = new XmlSerializer(myObject.GetType());
  serializer.Serialize(writer, myObject);
  return writer.ToString();

Initial URL

                                

Initial Description

                                

Initial Title
Get XML String Out of an Instance of a Class Generated from an XSD File by XSD.exe

Initial Tags
xml

Initial Language
C#