Keep sort when deserialize and serialize XML using XmlSerializer

后端 未结 2 753
故里飘歌
故里飘歌 2021-01-16 15:11

I have the following test XML string:



 b1
 a2         


        
2条回答
  •  独厮守ぢ
    2021-01-16 15:21

    No, basically; XmlSerializer doesn't support that. If you want to use that option you'd need to write it manually with XDocument or XmlDocument or XmlReader.

提交回复
热议问题