在ASP.NET中哪个名称空间用于序列化 [英] which namespace is used for Serialize in asp.net
本文介绍了在ASP.NET中哪个名称空间用于序列化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在asp.net中哪个名称空间用于序列化
which namespace is used for Serialize in asp.net
推荐答案
您好在名称空间下使用
Hi use below namespace
using System.Runtime.Serialization;
在项目引用中添加System.Runtime.Serialization.dll引用,并在代码中引用与
相同的代码
Hi,
Add System.Runtime.Serialization.dll reference in your project references and refer the same in your code as,
using System.Runtime.Serialization;
希望对您有所帮助.
hope this helps.
添加System.Runtime.Serialization.dll
的引用以进行项目设计并编写
add reference ofSystem.Runtime.Serialization.dll
to project and write
using System.Runtime.Serialization;
在.aspx.cs页面上
on .aspx.cs page
这篇关于在ASP.NET中哪个名称空间用于序列化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文