摘要: public class Serializer { public static object Serialize(object doc) { MemoryStream ms = new MemoryStream(); XmlSerializer xs = new XmlSerializer(typeof(XmlDocument)); xs.Serialize(ms, doc); return ms... 阅读全文
posted @ 2010-05-24 17:13 smodi 阅读(213) 评论(0) 推荐(0) 编辑