【发布时间】:2009-05-06 05:01:06
【问题描述】:
我已经实例化了一个可序列化的类,并将其序列化到一个文件中,但它总是将以下属性放在我的根元素中:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
我怎样才能阻止它?
【问题讨论】:
标签: .net xml serialization xml-serialization
我已经实例化了一个可序列化的类,并将其序列化到一个文件中,但它总是将以下属性放在我的根元素中:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
我怎样才能阻止它?
【问题讨论】:
标签: .net xml serialization xml-serialization
这已经在 Stack Overflow 上问过了
【讨论】: