存储在一个asp.net配置文件的通用字典? [英] Store a generic dictionary in an asp.net profile?
本文介绍了存储在一个asp.net配置文件的通用字典?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一个asp.net分布存储的通用字典对象的方法吗?我一直在使用这种尝试,但它仍然不喜欢它:
http://weblogs.asp.net/pwelter34/default.aspx
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
谢谢,
尼克
推荐答案
检查出的 KeyedCollection 。它是一种通用的字典是序列化到XML。 有一些限制,但是。
Check out the KeyedCollection. Its a generic dictionary that is serializable to xml. There are some limitations, however.
这篇关于存储在一个asp.net配置文件的通用字典?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文