将XML文件添加到VB net项目 [英] Add a XML file to a VB net project
问题描述
Good Afternoon everybody !!!。
一个问题:你如何将一个XML文件添加到vb Net项目?它的用途或优点是什么?
我尝试过的事情:
多次通过互联网搜索,我仍然无法找到具体答案;我见过的所有页面都谈到了如何做等等......但是没有关于这一点。
这就像我需要程序员的评论。 div class =h2_lin>解决方案
似乎,你在谈论 XmlSerialization [ ^ ]。
MSDN文档说明:序列化是将对象转换为形式,可以很容易地运输。例如,您可以使用客户端和服务器之间的HTTP序列化对象并通过Internet传输它。另一方面,反序列化从流中重建对象。
详情请见:
.NET Framework中的XML序列化 [ ^ ]
XML序列化 - 提示&技巧 [ ^ ]
XML序列化和反序列化:第1部分 [ ^ ]
XML序列化和反序列化:第2部分 [ ^ ]
自定义类集合序列化的完整示例反序列化 [ ^ ]
Good Afternoon everybody !!!.
A question: What for do you add a XML file to a vb Net project ?. What's its use or advantages in doing that ?
What I have tried:
Search thru internet for many times, and I still can´t find a specific answer to that; all pages I've seen talks about how to do it etc... but nothing about this.
It´s like I need a comment from a programmer.
Seems, you're talking about XmlSerialization[^].
MSDN documentation states:Serialization is the process of converting an object into a form that can be readily transported. For example, you can serialize an object and transport it over the Internet using HTTP between a client and a server. On the other end, deserialization reconstructs the object from the stream.
For further details, please see:
XML Serialization in the .NET Framework[^]
XML Serialization – Tips & Tricks[^]
XML Serialization and Deserialization: Part-1[^]
XML Serialization and Deserialization: Part-2[^]
A Complete Sample of Custom Class Collection Serialization and Deserialization[^]
这篇关于将XML文件添加到VB net项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!