将通用字典存储在asp.net配置文件中? [英] Store a generic dictionary in an asp.net profile?
本文介绍了将通用字典存储在asp.net配置文件中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
http:// weblogs.asp.net/pwelter34/default.aspx
谢谢,
Nick
解决方案
查看 KeyedCollection 一>。它是一个可以序列化为xml的通用字典。 但是有一些限制 。
Is there any way of storing a generic dictionary object in an asp.net profile? I have tried using this but it still doesn't like it: http://weblogs.asp.net/pwelter34/default.aspx
Thanks, Nick
解决方案
Check out the KeyedCollection. Its a generic dictionary that is serializable to xml. There are some limitations, however.
这篇关于将通用字典存储在asp.net配置文件中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文