在vb .net中反序列化XML [英] Deserialize XML in vb .net

查看:134
本文介绍了在vb .net中反序列化XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请评论XML序列化。

推荐答案

您需要创建一个 Serializable 类来表示这一点XML格式,然后使用 XMLSerializer 类及其方法来获取对象。



您可以使用XSD.exe创建将代表此XML的类。
You will need to create a Serializable class that represents this XML format and then use XMLSerializer class and its methods to get the object.

You can use XSD.exe to create class that will represent this XML.


从这里开始: XML序列化介绍 [ ^ ]并按照左侧的链接;)
Start here: Introducing XML Serialization[^] and follow the links on your left ;)


这篇关于在vb .net中反序列化XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆