什么是所有有效的ASP.NET的WebMethod返回类型? [英] What are all the valid ASP.NET Webmethod return types?
本文介绍了什么是所有有效的ASP.NET的WebMethod返回类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以像我所有的asp.net网站的例子看我的webmethod只返回字符串?
Can my webmethod only return strings like I see in all the asp.net site examples?
推荐答案
asp.net的Webmethods可以返回任何序列化的数据类型。
asp.net Webmethods can return any serializable data type.
这篇关于什么是所有有效的ASP.NET的WebMethod返回类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文