2011年7月27日

C# 对象序列化成xml格式的时候指定日期型(DateTime)属性的序列化格式

摘要: [Serializable][XmlRoot(ElementName = "item")]public class MneProductSourceImage{ [XmlElement(ElementName = "productid")] public int productid { get; set; } [XmlIgnore] public Date imagetime { get; set; } [XmlElement(ElementName = "imagetime")] public String ProxyImageTi 阅读全文

posted @ 2011-07-27 10:41 老代哥哥 阅读(2765) 评论(0) 推荐(0) 编辑

导航