XmlSerializer equivalent of IExtensibleDataObject

前端 未结 1 372
醉酒成梦
醉酒成梦 2021-01-22 12:53

With DataContracts you can derive from IExtensibleDataObject to allow round-tripping to work without losing any unknown additional data from your XML file.

I can\'t use

1条回答
  •  无人及你
    2021-01-22 13:21

    [XmlAnyAttribute] and [XmlAnyElement].

    0 讨论(0)
提交回复
热议问题