摘要:
当一个xml中有大量的属性XmlAttribute需要序列化和反序列化,通常需要复制粘贴大量的如下代码,显得很丑陋,而且容易出错: XmlAttribute attr = Doc.CreateAttribute("MaterialMark"); attr.Value = myObject.Mater 阅读全文
posted @ 2018-03-23 14:10 Hosseini 阅读(167) 评论(0) 推荐(0)
|
|
|
|
摘要:
当一个xml中有大量的属性XmlAttribute需要序列化和反序列化,通常需要复制粘贴大量的如下代码,显得很丑陋,而且容易出错: XmlAttribute attr = Doc.CreateAttribute("MaterialMark"); attr.Value = myObject.Mater 阅读全文
posted @ 2018-03-23 14:10 Hosseini 阅读(167) 评论(0) 推荐(0) |
|