【问题标题】:Store a generic dictionary in an asp.net profile?将通用字典存储在 asp.net 配置文件中?
【发布时间】:2009-08-14 12:43:02
【问题描述】:

有没有办法在 asp.net 配置文件中存储通用字典对象?我尝试过使用它,但它仍然不喜欢它: http://weblogs.asp.net/pwelter34/default.aspx

谢谢, 尼克

【问题讨论】:

    标签: asp.net dictionary generics profile


    【解决方案1】:

    查看KeyedCollection。它是一个可序列化为 xml 的通用字典。 There are some limitations, however

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-02-07
      • 1970-01-01
      • 2011-07-02
      • 2015-03-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-16
      相关资源
      最近更新 更多