阅读背景:

如何在自定义XML序列化方法中使用默认的XML序列化

来源:互联网 

I have a class in .NET that implements IXmlSerializable. I want to serialize its properties, but they may be complex types. These complex types would be compatible with XML serialization, but they don't implement IXmlSerializable themselves. From my ReadXml and WriteXml methods, how do I invoke the default read/write logic on the XmlReader/XmlWriter that is passed to me.I have a class in .NET that implements IXmlSeri




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: